diff options
author | jacobs <none@none> | 2006-09-22 15:03:12 -0700 |
---|---|---|
committer | jacobs <none@none> | 2006-09-22 15:03:12 -0700 |
commit | b51e021de072d76292addb44467f777617c6a8c1 (patch) | |
tree | f23d5bd037f70dea859cf0c77ec7791bdcb96570 /usr/src/lib/print/libpapi-dynamic/common/printer.c | |
parent | 5d3a5ad8d2a9319e80861563ceff0e6d8d530a32 (diff) | |
download | illumos-gate-b51e021de072d76292addb44467f777617c6a8c1.tar.gz |
6443139 lpadmin -x deletes all queue in /etc/printers.conf when just removing one
6454036 */usr/bin/lpc* status sub command dumps core
6473215 papiPrintersList() can't be called twice
Diffstat (limited to 'usr/src/lib/print/libpapi-dynamic/common/printer.c')
-rw-r--r-- | usr/src/lib/print/libpapi-dynamic/common/printer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/lib/print/libpapi-dynamic/common/printer.c b/usr/src/lib/print/libpapi-dynamic/common/printer.c index 321492703e..e02a325ebd 100644 --- a/usr/src/lib/print/libpapi-dynamic/common/printer.c +++ b/usr/src/lib/print/libpapi-dynamic/common/printer.c @@ -179,6 +179,7 @@ printers_from_name_service(service_t *svc, char **requested_attrs, return (PAPI_BAD_ARGUMENT); /* retrieve printers from the nameservice */ + setprinterentry(0, NULL); while ((attrs = getprinterentry(NULL)) != NULL) { printer_t *p = NULL; |