diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2000-03-21 21:58:05 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2000-03-21 21:58:05 +0000 |
commit | efc0223629cea74ea081688bb904571a5bd07cd4 (patch) | |
tree | 5ce67642d5abc973e5955f25e27062fd1a42ade5 /sbin/newfs/newfs.c | |
parent | ec6d71e6daf0efe77ee514e978c689f9322a0036 (diff) |
add missing break; found by Matt Patton <mep@netsec.net>.
Diffstat (limited to 'sbin/newfs/newfs.c')
-rw-r--r-- | sbin/newfs/newfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index f06aa78b383..603f4e3e52b 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newfs.c,v 1.20 1999/12/03 19:24:18 art Exp $ */ +/* $OpenBSD: newfs.c,v 1.21 2000/03/21 21:58:04 jason Exp $ */ /* $NetBSD: newfs.c,v 1.20 1996/05/16 07:13:03 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)newfs.c 8.8 (Berkeley) 4/18/94"; #else -static char rcsid[] = "$OpenBSD: newfs.c,v 1.20 1999/12/03 19:24:18 art Exp $"; +static char rcsid[] = "$OpenBSD: newfs.c,v 1.21 2000/03/21 21:58:04 jason Exp $"; #endif #endif /* not lint */ @@ -317,9 +317,9 @@ main(argc, argv) fatal("%s: bad file system size", optarg); break; case 'z': - if ((ntracks = atoi(optarg)) <= 0) fatal("%s: bad total tracks", optarg); + break; case 't': fstype = optarg; if (strcmp(fstype, "ffs")) |