=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/fmt/fmt.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- src/usr.bin/fmt/fmt.c 1998/12/14 21:48:10 1.12 +++ src/usr.bin/fmt/fmt.c 1998/12/14 21:50:32 1.13 @@ -1,4 +1,4 @@ -/* $OpenBSD: fmt.c,v 1.12 1998/12/14 21:48:10 millert Exp $ */ +/* $OpenBSD: fmt.c,v 1.13 1998/12/14 21:50:32 millert Exp $ */ /* Sensible version of fmt * @@ -168,7 +168,7 @@ #ifndef lint static const char rcsid[] = - "$OpenBSD: fmt.c,v 1.12 1998/12/14 21:48:10 millert Exp $"; + "$OpenBSD: fmt.c,v 1.13 1998/12/14 21:50:32 millert Exp $"; static const char copyright[] = "Copyright (c) 1997 Gareth McCaughan. All rights reserved.\n"; #endif /* not lint */ @@ -331,6 +331,7 @@ if (argc>0 && (max_length=get_positive(*argv,"max length must be positive", 0)) != 0) { + --argc; ++argv; if (max_length= goal length"); }