summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2002-10-07 13:57:10 +0000
committermickey <mickey@openbsd.org>2002-10-07 13:57:10 +0000
commit364024f8e8f8a743261947c7a7952c38e37bea5f (patch)
treefc91556aa10dd8ced65e57cd2e0a09462434b60d
parenttest generic return (diff)
downloadwireguard-openbsd-364024f8e8f8a743261947c7a7952c38e37bea5f.tar.xz
wireguard-openbsd-364024f8e8f8a743261947c7a7952c38e37bea5f.zip
misplaced break in the last
-rw-r--r--usr.bin/indent/args.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/indent/args.c b/usr.bin/indent/args.c
index 839822acf79..1937fdda858 100644
--- a/usr.bin/indent/args.c
+++ b/usr.bin/indent/args.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: args.c,v 1.10 2002/10/04 15:31:17 mickey Exp $ */
+/* $OpenBSD: args.c,v 1.11 2002/10/07 13:57:10 mickey Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#ifndef lint
/*static char sccsid[] = "@(#)args.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: args.c,v 1.10 2002/10/04 15:31:17 mickey Exp $";
+static char rcsid[] = "$OpenBSD: args.c,v 1.11 2002/10/07 13:57:10 mickey Exp $";
#endif /* not lint */
/*
@@ -310,10 +310,10 @@ found:
errx(1, "%s: ``%s'' requires a parameter", option_source, arg - 1);
}
*p->p_obj = atoi(param_start);
- break;
if (*p->p_name == 'i' && *p->p_obj <= 0)
errx(1, "%s: ``%s must be greater of zero''",
option_source, arg - 1);
+ break;
case PRO_FONT:
parsefont((struct fstate *) p->p_obj, param_start);