summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2001-05-18 08:27:57 +0000
committermickey <mickey@openbsd.org>2001-05-18 08:27:57 +0000
commitd1ad8d8eaea8a258d2b2d9bca1a27474f57a185e (patch)
tree28579e543994239432cf8c8a3934d42a7e941c5a
parentRemove a duplicate variable initialization in vunmapbuf(), and remove (diff)
downloadwireguard-openbsd-d1ad8d8eaea8a258d2b2d9bca1a27474f57a185e.tar.xz
wireguard-openbsd-d1ad8d8eaea8a258d2b2d9bca1a27474f57a185e.zip
treat two exits for a return
-rw-r--r--sbin/tunefs/tunefs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c
index c6fc9734ad3..481ccb204c6 100644
--- a/sbin/tunefs/tunefs.c
+++ b/sbin/tunefs/tunefs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tunefs.c,v 1.12 2001/04/13 21:35:56 gluk Exp $ */
+/* $OpenBSD: tunefs.c,v 1.13 2001/05/18 08:27:57 mickey Exp $ */
/* $NetBSD: tunefs.c,v 1.10 1995/03/18 15:01:31 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)tunefs.c 8.2 (Berkeley) 4/19/94";
#else
-static char rcsid[] = "$OpenBSD: tunefs.c,v 1.12 2001/04/13 21:35:56 gluk Exp $";
+static char rcsid[] = "$OpenBSD: tunefs.c,v 1.13 2001/05/18 08:27:57 mickey Exp $";
#endif
#endif /* not lint */
@@ -129,7 +129,7 @@ again:
case 'p':
printfs();
- exit(0);
+ return (0);
case 'a':
name = "maximum contiguous block count";
@@ -265,7 +265,7 @@ again:
bwrite(fsbtodb(&sblock, cgsblock(&sblock, i)),
(char *)&sblock, SBSIZE);
close(fi);
- exit(0);
+ return (0);
}
void