diff options
Diffstat (limited to 'systemv')
-rw-r--r-- | systemv/lpstat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/systemv/lpstat.c b/systemv/lpstat.c index a3474a6d7..5d3654dbf 100644 --- a/systemv/lpstat.c +++ b/systemv/lpstat.c @@ -77,7 +77,7 @@ main(int argc, /* I - Number of command-line arguments */ { for (opt = argv[i] + 1; *opt; opt ++) { - switch (argv[i][1]) + switch (*opt) { case 'D' : /* Show description */ long_status = 1; @@ -257,7 +257,6 @@ main(int argc, /* I - Number of command-line arguments */ cupsFreeDests(num_temp, temp); } - break; case 'f' : /* Show forms */ |