summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorsonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>2009-09-24 12:02:40 +0530
committersonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>2009-09-24 12:02:40 +0530
commit0ddcd5f73911e458bff125ce56c5898b1cf905b4 (patch)
tree490500b2bddea4a0bebeb0595f994b4010620d84 /usr/src
parent7380b00ccf9fc5638da98d756925bc6d6c002a42 (diff)
downloadillumos-joyent-0ddcd5f73911e458bff125ce56c5898b1cf905b4.tar.gz
6869028 Print jobs are not arranged as lp -q specified.
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/print/bsd-sysv-commands/in.lpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/print/bsd-sysv-commands/in.lpd.c b/usr/src/cmd/print/bsd-sysv-commands/in.lpd.c
index 1721ddfc32..1b058ac291 100644
--- a/usr/src/cmd/print/bsd-sysv-commands/in.lpd.c
+++ b/usr/src/cmd/print/bsd-sysv-commands/in.lpd.c
@@ -317,7 +317,7 @@ parse_cf(papi_service_t svc, char *cf, char **files)
}
break;
case 'q': { /* Solaris priority */
- int i = atoi(optarg);
+ int i = atoi(++entry);
i = 100 - (i * 2.5);
if ((i < 1) || (i > 100))