From 034e10d7fb8bd3d574bc4861f84cf4a86c343bf2 Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Fri, 12 Jun 2015 10:24:26 +0530 Subject: core: fix CID 996302 CID 996302: Error handling issues (CHECKED_RETURN) --- src/core/umount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf