summaryrefslogtreecommitdiff
path: root/usr/src/cmd/print/bsd-sysv-commands
diff options
context:
space:
mode:
authorsonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>2008-11-30 23:22:13 -0800
committersonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>2008-11-30 23:22:13 -0800
commitf06271be56df67ca3faa4ca4bc51457dad15c3b5 (patch)
tree3ae3453b8f679d53c954d5c6b16607c6b5b097ef /usr/src/cmd/print/bsd-sysv-commands
parent94d05f6c7f329fdf908da99ab50b37d3d33f9fe5 (diff)
downloadillumos-joyent-f06271be56df67ca3faa4ca4bc51457dad15c3b5.tar.gz
6740759 S10u5: lpstat always reports "Forms allowed: (none)" after making form available to printer.
Diffstat (limited to 'usr/src/cmd/print/bsd-sysv-commands')
-rw-r--r--usr/src/cmd/print/bsd-sysv-commands/lpstat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/cmd/print/bsd-sysv-commands/lpstat.c b/usr/src/cmd/print/bsd-sysv-commands/lpstat.c
index ed7a0eede5..e32cddfd39 100644
--- a/usr/src/cmd/print/bsd-sysv-commands/lpstat.c
+++ b/usr/src/cmd/print/bsd-sysv-commands/lpstat.c
@@ -461,16 +461,16 @@ report_printer(papi_service_t svc, char *name, papi_printer_t printer,
printf("\t\t%s\n", str);
}
- str = "(none)";
+ str = "none";
iter = NULL;
(void) papiAttributeListGetString(attrs, &iter,
"form-supported", &str);
- printf(gettext("\tForms allowed:\n\t\t%s\n"),
- ((str[0] == '\0') ? gettext("(none)") : str));
+ printf(gettext("\tForms allowed:\n\t\t(%s)\n"),
+ ((str[0] == '\0') ? gettext("none") : str));
if ((str != NULL) && (str[0] != '\0'))
while (papiAttributeListGetString(attrs, &iter, NULL,
&str) == PAPI_OK)
- printf("\t\t%s\n", str);
+ printf("\t\t(%s)\n", str);
str = "";
iter = NULL;