diff options
author | sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM> | 2010-07-28 17:16:27 +0530 |
---|---|---|
committer | sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM> | 2010-07-28 17:16:27 +0530 |
commit | a1a4c722cd91922d6b5a06ca3629f5795961fc6a (patch) | |
tree | ee847a1c821c90a8ec4b4adaa4742a1e43848d10 /usr/src/cmd/print/bsd-sysv-commands/lp.c | |
parent | 20c1c3551cb3b3117591ae38463d16aada597c48 (diff) | |
download | illumos-joyent-a1a4c722cd91922d6b5a06ca3629f5795961fc6a.tar.gz |
6962640 lp error message has changed for lp -q {priority}
Diffstat (limited to 'usr/src/cmd/print/bsd-sysv-commands/lp.c')
-rw-r--r-- | usr/src/cmd/print/bsd-sysv-commands/lp.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/usr/src/cmd/print/bsd-sysv-commands/lp.c b/usr/src/cmd/print/bsd-sysv-commands/lp.c index 46ef3cf665..9ec5d0fed2 100644 --- a/usr/src/cmd/print/bsd-sysv-commands/lp.c +++ b/usr/src/cmd/print/bsd-sysv-commands/lp.c @@ -167,8 +167,16 @@ main(int ac, char *av[]) i = 100 - (i * 2.5); if ((i < 1) || (i > 100)) { - fprintf(stderr, gettext( - "priority must be between 0 and 39.\n")); + fprintf(stderr, gettext("UX:lp: ")); + fprintf(stderr, gettext("ERROR: ")); + fprintf(stderr, gettext("Bad priority" + " value \"%s\"."), optarg); + fprintf(stderr, gettext("\n ")); + fprintf(stderr, gettext("TO FIX")); + fprintf(stderr, gettext(": ")); + fprintf(stderr, gettext("Use an integer value" + " from 0 to 39.")); + fprintf(stderr, gettext("\n")); exit(1); } papiAttributeListAddInteger(&list, PAPI_ATTR_EXCL, |