summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/lpc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-19 01:24:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-19 01:24:15 +0000
commitf9c940c91232305258bbf7ce0971bb335764655d (patch)
tree4396789142c6e5802f53c7d4a886ccf424e89c66 /usr.sbin/lpr/lpc
parent6fd2d26e954fe36fd50323d30c6d1cdc093ef9d9 (diff)
stretch some ugly while();
Diffstat (limited to 'usr.sbin/lpr/lpc')
-rw-r--r--usr.sbin/lpr/lpc/lpc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/lpr/lpc/lpc.c b/usr.sbin/lpr/lpc/lpc.c
index bbd41c4833c..f5a634f245e 100644
--- a/usr.sbin/lpr/lpc/lpc.c
+++ b/usr.sbin/lpr/lpc/lpc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lpc.c,v 1.14 2002/06/08 01:53:43 millert Exp $ */
+/* $OpenBSD: lpc.c,v 1.15 2002/06/19 01:24:14 deraadt Exp $ */
/* $NetBSD: lpc.c,v 1.11 2001/11/14 03:01:15 enami Exp $ */
/*
@@ -45,7 +45,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)lpc.c 8.3 (Berkeley) 4/28/95";
#else
-static const char rcsid[] = "$OpenBSD: lpc.c,v 1.14 2002/06/08 01:53:43 millert Exp $";
+static const char rcsid[] = "$OpenBSD: lpc.c,v 1.15 2002/06/19 01:24:14 deraadt Exp $";
#endif
#endif /* not lint */
@@ -285,6 +285,7 @@ help(int argc, char **argv)
}
while (--argc > 0) {
char *arg;
+
arg = *++argv;
c = getcmd(arg);
if (c == (struct cmd *)-1)