diff options
author | Keerthi Kondaka <Keerthi.Kondaka@Sun.COM> | 2009-04-03 17:19:23 -0700 |
---|---|---|
committer | Keerthi Kondaka <Keerthi.Kondaka@Sun.COM> | 2009-04-03 17:19:23 -0700 |
commit | 027158a41d16aee0de0e0e2d18be458eb39f98b0 (patch) | |
tree | 7068281912b5688a5374e590996e1604c4c90ba0 /usr/src/cmd/print/bsd-sysv-commands | |
parent | 183971bab0e50aa34f0476451276612019e36db5 (diff) | |
download | illumos-gate-027158a41d16aee0de0e0e2d18be458eb39f98b0.tar.gz |
6799460 lpmove disabled source printer after it executed
Diffstat (limited to 'usr/src/cmd/print/bsd-sysv-commands')
-rw-r--r-- | usr/src/cmd/print/bsd-sysv-commands/lpmove.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/cmd/print/bsd-sysv-commands/lpmove.c b/usr/src/cmd/print/bsd-sysv-commands/lpmove.c index ef658d364b..440c43dc17 100644 --- a/usr/src/cmd/print/bsd-sysv-commands/lpmove.c +++ b/usr/src/cmd/print/bsd-sysv-commands/lpmove.c @@ -121,7 +121,7 @@ main(int ac, char *av[]) 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 @@ main(int ac, char *av[]) 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 @@ main(int ac, char *av[]) } } else { fprintf(stderr, gettext( - "Disable %s: %s\n"), + "Reject %s: %s\n"), printer, verbose_papi_message(svc, status)); exit_code = 1; |