Mercurial > illumos > illumos-gate
changeset 9282:fd5bf0c539dc
6799460 lpmove disabled source printer after it executed
author | Keerthi Kondaka <Keerthi.Kondaka@Sun.COM> |
---|---|
date | Fri, 03 Apr 2009 17:19:23 -0700 |
parents | 67a3435ea50e |
children | 2ee48b3d20ef |
files | usr/src/cmd/print/bsd-sysv-commands/lpmove.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/print/bsd-sysv-commands/lpmove.c Fri Apr 03 16:06:33 2009 -0700 +++ b/usr/src/cmd/print/bsd-sysv-commands/lpmove.c Fri Apr 03 17:19:23 2009 -0700 @@ -121,7 +121,7 @@ snprintf(message, sizeof (message), "moved jobs to %s", destination); - status = papiPrinterDisable(svc, printer, message); + status = papiPrinterPause(svc, printer, message); if (status != PAPI_OK) { /* * If the user is denied the permission @@ -152,7 +152,7 @@ exit_code = 1; } else { fprintf(stderr, gettext( - "Disable %s: %s\n"), + "Reject %s: %s\n"), printer, verbose_papi_message( svc, status)); @@ -160,7 +160,7 @@ } } else { fprintf(stderr, gettext( - "Disable %s: %s\n"), + "Reject %s: %s\n"), printer, verbose_papi_message(svc, status)); exit_code = 1;