summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mkfs_minix.c2
-rw-r--r--util-linux/umount.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c
index c6ca754..670d03a 100644
--- a/util-linux/mkfs_minix.c
+++ b/util-linux/mkfs_minix.c
@@ -797,6 +797,6 @@ goodbye:
}
mark_good_blocks();
write_tables();
- exit( 0);
+ return( 0);
}
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 4aed989..61f7f90 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -24,12 +24,12 @@
#include "internal.h"
#include <stdio.h>
-//#include <sys/mount.h>
#include <mntent.h>
#include <errno.h>
#include <linux/unistd.h>
+//#include <sys/mount.h>
/* Include our own version of sys/mount.h, since libc5 doesn't
* know about umount2 */
static _syscall1(int, umount, const char *, special_file);