diff options
author | Susant Sahani <susant@redhat.com> | 2015-06-12 06:54:26 +0200 |
---|---|---|
committer | Susant Sahani <susant@redhat.com> | 2015-06-12 06:54:26 +0200 |
commit | 034e10d7fb8bd3d574bc4861f84cf4a86c343bf2 (patch) | |
tree | 9b47e54a8a89991661c0a9b6d1426c6f2fd15f88 /src/core/umount.c | |
parent | Merge pull request #171 from teg/rtnl-broadcast-2 (diff) | |
download | systemd-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.c | 2 |
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 |