summaryrefslogtreecommitdiffstats
path: root/usr.bin/sasc
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2000-03-26 14:55:05 +0000
committercharnier <charnier@FreeBSD.org>2000-03-26 14:55:05 +0000
commitbf7f493ee04f64054aea9869b46615bde412a1e1 (patch)
tree1952c2913b8d7bceffd54f40c896360278e1d615 /usr.bin/sasc
parent2188db442c9d557afbf9d372e3e22127099c6e7a (diff)
downloadFreeBSD-src-bf7f493ee04f64054aea9869b46615bde412a1e1.zip
FreeBSD-src-bf7f493ee04f64054aea9869b46615bde412a1e1.tar.gz
remove unknown OPTIONS section name. Getopt returns -1.
Diffstat (limited to 'usr.bin/sasc')
-rw-r--r--usr.bin/sasc/sasc.12
-rw-r--r--usr.bin/sasc/sasc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sasc/sasc.1 b/usr.bin/sasc/sasc.1
index 7ace540..c07cbd5 100644
--- a/usr.bin/sasc/sasc.1
+++ b/usr.bin/sasc/sasc.1
@@ -57,7 +57,7 @@ the output and behavior of the asc scanner device.
When
.Nm
is called with no option only the current settings are reported.
-.Sh OPTIONS
+.Pp
The following options are available:
.Bl -tag -width indent
.It Fl s Bq ASC_SRESSW
diff --git a/usr.bin/sasc/sasc.c b/usr.bin/sasc/sasc.c
index 3b023ea..9137a4d 100644
--- a/usr.bin/sasc/sasc.c
+++ b/usr.bin/sasc/sasc.c
@@ -85,7 +85,7 @@ main(int argc, char **argv)
if (argc == 0) usage();
- while( (c = getopt(argc, argv, "sqf:b:r:w:h:t:")) != FAIL)
+ while( (c = getopt(argc, argv, "sqf:b:r:w:h:t:")) != -1)
{
switch(c) {
case 'f': file = optarg; break;
OpenPOWER on IntegriCloud