From: Susant Sahani Date: Fri, 12 Jun 2015 04:54:26 +0000 (+0530) Subject: core: fix CID 996302 X-Git-Tag: v221~109^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=034e10d7fb8bd3d574bc4861f84cf4a86c343bf2;p=thirdparty%2Fsystemd.git core: fix CID 996302 CID 996302: Error handling issues (CHECKED_RETURN) --- diff --git a/src/core/umount.c b/src/core/umount.c index bee267a5ad8..d59b5d0ffbc 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