From 54d4b6e74bf539930db2cafbe075416894900076 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 12 Mar 2017 13:44:14 +0000 Subject: Fix a few omissions --- src/minutils/s6-umount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/minutils/s6-umount.c') diff --git a/src/minutils/s6-umount.c b/src/minutils/s6-umount.c index 31773cb..eee2910 100644 --- a/src/minutils/s6-umount.c +++ b/src/minutils/s6-umount.c @@ -1,6 +1,6 @@ /* ISC license. */ -#include +#include #include #include #include @@ -25,7 +25,7 @@ static int umountall ( ) int r ; int fd = open_readb("/proc/mounts") ; if (fd < 0) strerr_diefu1sys(111, "open /proc/mounts") ; - byte_zero(mountpoints, sizeof(mountpoints)) ; + memset(mountpoints, 0, sizeof(mountpoints)) ; buffer_init(&b, &buffer_read, fd, buf, BUFSIZE+1) ; for (;;) { -- cgit v1.2.3