summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2000-03-26 14:55:05 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2000-03-26 14:55:05 +0000
commit846fef583463d55d0c8bb1d02cfd30f2c072a487 (patch)
tree97b821562fbed484b1dee84d001c360888c312f4
parent115a32af837d7efb4b78041b689c62118cf1110b (diff)
Notes
-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 7ace540f5c0a..c07cbd571bac 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 3b023ea8eaa6..9137a4d043ad 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;