]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: fix CID 996302 177/head
authorSusant Sahani <susant@redhat.com>
Fri, 12 Jun 2015 04:54:26 +0000 (10:24 +0530)
committerSusant Sahani <susant@redhat.com>
Fri, 12 Jun 2015 04:54:26 +0000 (10:24 +0530)
CID 996302:  Error handling issues  (CHECKED_RETURN)

src/core/umount.c

index bee267a5ad866b5d43ec091ccafc479a54994960..d59b5d0ffbc0933f7f7244f70a3a4b39989bebb6 100644 (file)
@@ -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