summaryrefslogtreecommitdiffstats
path: root/usr.sbin/i4b/isdnd/main.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-06-24 06:43:21 +0000
committerimp <imp@FreeBSD.org>1999-06-24 06:43:21 +0000
commit37b915c08f74748061b9773d96f3f5af5135af6c (patch)
treeb697f96f3e37bb409953c5a4b7d05737a7109dab /usr.sbin/i4b/isdnd/main.c
parentb6415deff202f2102139d1b05e3c9f71b331bd83 (diff)
downloadFreeBSD-src-37b915c08f74748061b9773d96f3f5af5135af6c.zip
FreeBSD-src-37b915c08f74748061b9773d96f3f5af5135af6c.tar.gz
Two getopts related nits:
o getopt returns -1 rather than EOF on errors o getopt returns '?' for characters it doesn't know about, so don't include them in the getopt options string.
Diffstat (limited to 'usr.sbin/i4b/isdnd/main.c')
-rw-r--r--usr.sbin/i4b/isdnd/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/i4b/isdnd/main.c b/usr.sbin/i4b/isdnd/main.c
index b4eea98..95c4258 100644
--- a/usr.sbin/i4b/isdnd/main.c
+++ b/usr.sbin/i4b/isdnd/main.c
@@ -27,7 +27,7 @@
* i4b daemon - main program entry
* -------------------------------
*
- * $Id: main.c,v 1.3 1999/05/20 10:12:42 hm Exp $
+ * $Id: main.c,v 1.4 1999/05/23 23:24:08 imp Exp $
*
* last edit-date: [Thu Apr 29 09:41:21 1999]
*
@@ -118,7 +118,7 @@ main(int argc, char **argv)
#endif
#endif
- while ((i = getopt(argc, argv, "bmc:d:fFlL:Pr:s:t:u:?")) != -1)
+ while ((i = getopt(argc, argv, "bmc:d:fFlL:Pr:s:t:u:")) != -1)
{
switch (i)
{
OpenPOWER on IntegriCloud