From 6af9565a1d2f45d38b2742fbafde0ecbe8db840f Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Sun, 29 Jul 2018 00:30:08 +0200 Subject: [PATCH] mnt: function rename --- mnt.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mnt.cc b/mnt.cc index 8851d49..4c8844a 100644 --- a/mnt.cc +++ b/mnt.cc @@ -220,7 +220,7 @@ static bool mountPt(mount_t* mpt, const char* newroot, const char* tmpdir) { return true; } -static bool remount(const mount_t& mpt) { +static bool remountPt(const mount_t& mpt) { if (!mpt.mounted) { return true; } @@ -417,7 +417,7 @@ static bool initNsInternal(nsjconf_t* nsjconf) { } for (const auto& p : nsjconf->mountpts) { - if (!remount(p) && p.is_mandatory) { + if (!remountPt(p) && p.is_mandatory) { return false; } }