diff options
Diffstat (limited to 'usr/src/cmd/print/bsd-sysv-commands/lpstat.c')
-rw-r--r-- | usr/src/cmd/print/bsd-sysv-commands/lpstat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/cmd/print/bsd-sysv-commands/lpstat.c b/usr/src/cmd/print/bsd-sysv-commands/lpstat.c index f218daa4be..ed7a0eede5 100644 --- a/usr/src/cmd/print/bsd-sysv-commands/lpstat.c +++ b/usr/src/cmd/print/bsd-sysv-commands/lpstat.c @@ -27,7 +27,6 @@ /* $Id: lpstat.c 173 2006-05-25 04:52:06Z njacobs $ */ -#pragma ident "%Z%%M% %I% %E% SMI" #include <stdio.h> #include <stdlib.h> @@ -411,7 +410,7 @@ report_printer(papi_service_t svc, char *name, papi_printer_t printer, (void) papiAttributeListGetString(attrs, NULL, "lpsched-dial-info", &str); printf(gettext("\tConnection: %s\n"), - ((str[0] != '\0') ? gettext("direct") : str)); + ((str[0] == '\0') ? gettext("direct") : str)); str = ""; (void) papiAttributeListGetString(attrs, NULL, |