diff options
author | imp <imp@FreeBSD.org> | 1999-05-23 23:24:26 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-05-23 23:24:26 +0000 |
commit | 3aec1640dfcf063d1ba62f7dcbb14a1c363fd828 (patch) | |
tree | 0eeef0425d26795141407f0b4a7f4cb649cef243 /usr.sbin/i4b/isdntrace | |
parent | d0b3d805b48cc5180d9275494e354b7ddee74cde (diff) | |
download | FreeBSD-src-3aec1640dfcf063d1ba62f7dcbb14a1c363fd828.zip FreeBSD-src-3aec1640dfcf063d1ba62f7dcbb14a1c363fd828.tar.gz |
getopt(3) returns -1 not EOF.
Diffstat (limited to 'usr.sbin/i4b/isdntrace')
-rw-r--r-- | usr.sbin/i4b/isdntrace/trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/i4b/isdntrace/trace.c b/usr.sbin/i4b/isdntrace/trace.c index 77a9523..f1346f3 100644 --- a/usr.sbin/i4b/isdntrace/trace.c +++ b/usr.sbin/i4b/isdntrace/trace.c @@ -35,7 +35,7 @@ * trace.c - print traces of D (B) channel activity for isdn4bsd * ------------------------------------------------------------- * - * $Id: trace.c,v 1.11 1999/02/14 09:44:58 hm Exp $ + * $Id: trace.c,v 1.3 1999/05/20 10:14:35 hm Exp $ * * last edit-date: [Sun Feb 14 10:23:28 1999] * @@ -146,7 +146,7 @@ main(int argc, char *argv[]) b = &buf[sizeof(i4b_trace_hdr_t)]; - while( (c = getopt(argc, argv, "abdf:hiln:op:ru:BFPR:T:?")) != EOF) + while( (c = getopt(argc, argv, "abdf:hiln:op:ru:BFPR:T:?")) != -1) { switch(c) { |