summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2015-06-12 10:24:26 +0530
committerSusant Sahani <susant@redhat.com>2015-06-12 10:24:26 +0530
commit034e10d7fb8bd3d574bc4861f84cf4a86c343bf2 (patch)
tree9b47e54a8a89991661c0a9b6d1426c6f2fd15f88
parented810b68d323a58b6c36fd00d1118699466ca34a (diff)
core: fix CID 996302
CID 996302: Error handling issues (CHECKED_RETURN)
-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