diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-05-18 08:27:58 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-05-18 08:27:58 +0000 |
commit | 7455da347fc3acc4d774b691e5a3015a15f0b4aa (patch) | |
tree | 3d6b805da4280d9b8fb1f493eb2516da860237af /sbin | |
parent | 397e94ac860e96d77cd2366534f30b7fa973335e (diff) |
treat two exits for a return
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/tunefs/tunefs.c | 8 |
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 |