X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=mount-setup.c;h=cb91e181bf35ef62cfef9c23201a6b80a331cb58;hp=d2a1d0a942b310b1af7496dad1e6ddedd8e3e2fe;hb=5301be81d094129232becb2a087f8db4967d1fc6;hpb=ac86f50d7b62fb16b4521c87bd2739b9c26a4f60 diff --git a/mount-setup.c b/mount-setup.c index d2a1d0a94..cb91e181b 100644 --- a/mount-setup.c +++ b/mount-setup.c @@ -50,6 +50,7 @@ static const MountPoint mount_table[] = { { "cgroup", "/cgroup/debug", "cgroup", "debug", MS_NOSUID|MS_NOEXEC|MS_NODEV, true }, { "debugfs", "/sys/kernel/debug", "debugfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false }, { "binfmt_misc", "/proc/sys/fs/binfmt_misc", "binfmt_misc", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false }, + { "mqueue", "/dev/mqueue", "mqueue", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false }, }; bool mount_point_is_api(const char *path) { @@ -109,7 +110,7 @@ static int mount_cgroup_controllers(void) { return -ENOENT; /* Ignore the header line */ - fgets(buf, sizeof(buf), f); + (void) fgets(buf, sizeof(buf), f); for (;;) { MountPoint p;