aboutsummaryrefslogtreecommitdiff
path: root/sbin/atm/fore_dnld
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1999-05-23 23:18:38 +0000
committerWarner Losh <imp@FreeBSD.org>1999-05-23 23:18:38 +0000
commitc8b4bd56c2f20e9819bd5b232d058f5111d5d4fd (patch)
treef1d46795dbe59d6e226ec909bcb0937fdbeed747 /sbin/atm/fore_dnld
parent0e49c54852957b6ac2afec01f4d614af30d0c6e1 (diff)
downloadsrc-c8b4bd56c2f20e9819bd5b232d058f5111d5d4fd.tar.gz
src-c8b4bd56c2f20e9819bd5b232d058f5111d5d4fd.zip
Getopt(3) returns -1 not EOF.
Notes
Notes: svn path=/head/; revision=47441
Diffstat (limited to 'sbin/atm/fore_dnld')
-rw-r--r--sbin/atm/fore_dnld/fore_dnld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/atm/fore_dnld/fore_dnld.c b/sbin/atm/fore_dnld/fore_dnld.c
index d0e965e96e47..fa4fc1a7dab1 100644
--- a/sbin/atm/fore_dnld/fore_dnld.c
+++ b/sbin/atm/fore_dnld/fore_dnld.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: fore_dnld.c,v 1.1 1998/09/15 08:22:47 phk Exp $
+ * @(#) $Id: fore_dnld.c,v 1.2 1998/10/30 16:17:43 dg Exp $
*
*/
@@ -37,7 +37,7 @@
*/
#ifndef lint
-static char *RCSid = "@(#) $Id: fore_dnld.c,v 1.1 1998/09/15 08:22:47 phk Exp $";
+static char *RCSid = "@(#) $Id: fore_dnld.c,v 1.2 1998/10/30 16:17:43 dg Exp $";
#endif
#include <sys/types.h>
@@ -835,7 +835,7 @@ char *argv[];
progname = (char *)basename(argv[0]);
comm_mode = strcmp ( progname, "fore_comm" ) == 0;
- while ( ( c = getopt ( argc, argv, "i:d:f:berv" ) ) != EOF )
+ while ( ( c = getopt ( argc, argv, "i:d:f:berv" ) ) != -1 )
switch ( c ) {
case 'b':
binary++;