summaryrefslogtreecommitdiffstats
path: root/sbin/atm/ilmid
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-05-23 23:18:38 +0000
committerimp <imp@FreeBSD.org>1999-05-23 23:18:38 +0000
commitd0b3d805b48cc5180d9275494e354b7ddee74cde (patch)
treed7417022a77e37cb2b8d15e3ef634865b76372cc /sbin/atm/ilmid
parent52fa104235ad06848e8c6f1938df19bcc7482f75 (diff)
downloadFreeBSD-src-d0b3d805b48cc5180d9275494e354b7ddee74cde.zip
FreeBSD-src-d0b3d805b48cc5180d9275494e354b7ddee74cde.tar.gz
Getopt(3) returns -1 not EOF.
Diffstat (limited to 'sbin/atm/ilmid')
-rw-r--r--sbin/atm/ilmid/ilmid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/atm/ilmid/ilmid.c b/sbin/atm/ilmid/ilmid.c
index 9da2424..a1c6e34 100644
--- a/sbin/atm/ilmid/ilmid.c
+++ b/sbin/atm/ilmid/ilmid.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: ilmid.c,v 1.1 1998/09/15 08:22:47 phk Exp $
+ * @(#) $Id: ilmid.c,v 1.2 1999/01/20 00:56:21 mks Exp $
*
*/
@@ -48,7 +48,7 @@
#include <sys/param.h>
#ifndef lint
-__RCSID("@(#) $Id: ilmid.c,v 1.1 1998/09/15 08:22:47 phk Exp $");
+__RCSID("@(#) $Id: ilmid.c,v 1.2 1999/01/20 00:56:21 mks Exp $");
#endif
#include <err.h>
@@ -2437,7 +2437,7 @@ main ( argc, argv )
/*
* Parse arguments
*/
- while ( ( c = getopt ( argc, argv, "d:fr" ) ) != EOF )
+ while ( ( c = getopt ( argc, argv, "d:fr" ) ) != -1 )
switch ( c ) {
case 'd':
Debug_Level = atoi ( optarg );
OpenPOWER on IntegriCloud