mnt: function rename

This commit is contained in:
Robert Swiecki 2018-07-29 00:30:08 +02:00
parent 5a8a178290
commit 6af9565a1d

4
mnt.cc
View File

@ -220,7 +220,7 @@ static bool mountPt(mount_t* mpt, const char* newroot, const char* tmpdir) {
return true; return true;
} }
static bool remount(const mount_t& mpt) { static bool remountPt(const mount_t& mpt) {
if (!mpt.mounted) { if (!mpt.mounted) {
return true; return true;
} }
@ -417,7 +417,7 @@ static bool initNsInternal(nsjconf_t* nsjconf) {
} }
for (const auto& p : nsjconf->mountpts) { for (const auto& p : nsjconf->mountpts) {
if (!remount(p) && p.is_mandatory) { if (!remountPt(p) && p.is_mandatory) {
return false; return false;
} }
} }