From: jason Date: Tue, 21 Mar 2000 21:58:04 +0000 (+0000) Subject: add missing break; found by Matt Patton . X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ec55bc4b3cf410f99ad69eaefe3cb66d612dac25;p=openbsd add missing break; found by Matt Patton . --- 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"))