From: Yu Watanabe Date: Fri, 31 Jan 2020 14:10:26 +0000 (+0900) Subject: nspawn: voidify umount_verbose() X-Git-Tag: v245-rc1~42^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9610210d3235a4b0b007623710f5b3ca7e2bd403;p=thirdparty%2Fsystemd.git nspawn: voidify umount_verbose() Fixes CID#1415122. --- diff --git a/src/nspawn/nspawn-mount.c b/src/nspawn/nspawn-mount.c index 6afc31d824b..a862355a645 100644 --- a/src/nspawn/nspawn-mount.c +++ b/src/nspawn/nspawn-mount.c @@ -906,7 +906,7 @@ static int mount_inaccessible(const char *dest, CustomMount *m) { r = mount_verbose(m->graceful ? LOG_DEBUG : LOG_ERR, NULL, where, NULL, MS_BIND|MS_RDONLY|MS_REMOUNT, NULL); if (r < 0) { - umount_verbose(where); + (void) umount_verbose(where); return m->graceful ? 0 : r; }