summaryrefslogtreecommitdiffstats
path: root/usr.sbin/i4b/isdntel
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-05-23 23:24:26 +0000
committerimp <imp@FreeBSD.org>1999-05-23 23:24:26 +0000
commit3aec1640dfcf063d1ba62f7dcbb14a1c363fd828 (patch)
tree0eeef0425d26795141407f0b4a7f4cb649cef243 /usr.sbin/i4b/isdntel
parentd0b3d805b48cc5180d9275494e354b7ddee74cde (diff)
downloadFreeBSD-src-3aec1640dfcf063d1ba62f7dcbb14a1c363fd828.zip
FreeBSD-src-3aec1640dfcf063d1ba62f7dcbb14a1c363fd828.tar.gz
getopt(3) returns -1 not EOF.
Diffstat (limited to 'usr.sbin/i4b/isdntel')
-rw-r--r--usr.sbin/i4b/isdntel/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/i4b/isdntel/main.c b/usr.sbin/i4b/isdntel/main.c
index d8bb502..a93409f 100644
--- a/usr.sbin/i4b/isdntel/main.c
+++ b/usr.sbin/i4b/isdntel/main.c
@@ -27,7 +27,7 @@
* isdntel - isdn4bsd telephone answering machine support
* ======================================================
*
- * $Id: main.c,v 1.8 1999/04/26 12:10:39 hm Exp $
+ * $Id: main.c,v 1.3 1999/05/20 10:13:55 hm Exp $
*
* last edit-date: [Mon Apr 26 13:56:35 1999]
*
@@ -61,7 +61,7 @@ main(int argc, char **argv)
extern char *optarg;
- while ((i = getopt(argc, argv, "a:d:p:t:?")) != EOF)
+ while ((i = getopt(argc, argv, "a:d:p:t:?")) != -1)
{
switch (i)
{
OpenPOWER on IntegriCloud