summaryrefslogtreecommitdiffstats
path: root/src/core/umount.c
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2015-06-12 06:54:26 +0200
committerSusant Sahani <susant@redhat.com>2015-06-12 06:54:26 +0200
commit034e10d7fb8bd3d574bc4861f84cf4a86c343bf2 (patch)
tree9b47e54a8a89991661c0a9b6d1426c6f2fd15f88 /src/core/umount.c
parentMerge pull request #171 from teg/rtnl-broadcast-2 (diff)
downloadsystemd-034e10d7fb8bd3d574bc4861f84cf4a86c343bf2.tar.xz
systemd-034e10d7fb8bd3d574bc4861f84cf4a86c343bf2.zip
core: fix CID 996302
CID 996302: Error handling issues (CHECKED_RETURN)
Diffstat (limited to '')
-rw-r--r--src/core/umount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/umount.c b/src/core/umount.c
index bee267a5ad..d59b5d0ffb 100644
--- a/src/core/umount.c
+++ b/src/core/umount.c
@@ -385,7 +385,7 @@ static int mount_points_list_umount(MountPoint **head, bool *changed, bool log_e
* alias read-only we hence should be
* relatively safe regarding keeping the fs we
* can otherwise not see dirty. */
- mount(NULL, m->path, NULL, MS_REMOUNT|MS_RDONLY, NULL);
+ (void) mount(NULL, m->path, NULL, MS_REMOUNT|MS_RDONLY, NULL);
}
/* Skip / and /usr since we cannot unmount that