diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/printing/nt_printing_migrate.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/nt_printing_migrate.c b/source3/printing/nt_printing_migrate.c index 362eb90fa5..2060b91f35 100644 --- a/source3/printing/nt_printing_migrate.c +++ b/source3/printing/nt_printing_migrate.c @@ -243,7 +243,7 @@ static NTSTATUS migrate_printer(TALLOC_CTX *mem_ctx, status = werror_to_ntstatus(result); } DEBUG(2, ("OpenPrinter(%s) failed: %s\n", - key_name, nt_errstr(status))); + key_name, win_errstr(result))); return status; } diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 6ce377db6c..281de00511 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1541,7 +1541,7 @@ WERROR _spoolss_OpenPrinterEx(struct pipes_struct *p, if (!open_printer_hnd(p, r->out.handle, r->in.printername, 0)) { DEBUG(0,("_spoolss_OpenPrinterEx: Cannot open a printer handle " - " for printer %s\n", r->in.printername)); + "for printer %s\n", r->in.printername)); ZERO_STRUCTP(r->out.handle); return WERR_INVALID_PARAM; } |