diff --git a/usr.bin/sasc/sasc.1 b/usr.bin/sasc/sasc.1 index 7ace540f5c0..c07cbd571ba 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 3b023ea8eaa..9137a4d043a 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;