Unverified Commit 92b17705 by Christian Brauner Committed by GitHub

Merge pull request #2050 from tanyifeng/small_fix

conf.c: small fix for args of mount_entry
parents 53056753 d6bec4ab
......@@ -1813,8 +1813,8 @@ static char *get_field(char *src, int nfields)
static int mount_entry(const char *fsname, const char *target,
const char *fstype, unsigned long mountflags,
const char *data, int optional, int dev,
int relative, const char *rootfs)
const char *data, bool optional, bool dev,
bool relative, const char *rootfs)
{
int ret;
char srcbuf[MAXPATHLEN];
......
......@@ -478,7 +478,7 @@ int main(int argc, char *argv[])
}
if (!c->get_config_item(c, "lxc.id_map", retval, sizeof(retval))) {
lxc_error("%s\n", "failed to get config item \"lxc.cgroup\"");
lxc_error("%s\n", "failed to get config item \"lxc.id_map\"");
return -1;
}
......@@ -506,7 +506,7 @@ int main(int argc, char *argv[])
}
if (!c->get_config_item(c, "lxc.idmap", retval, sizeof(retval))) {
lxc_error("%s\n", "failed to get config item \"lxc.cgroup\"");
lxc_error("%s\n", "failed to get config item \"lxc.idmap\"");
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment