summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-02 13:41:08 +0200
committerGünther Deschner <gd@samba.org>2010-09-03 12:19:26 +0200
commitcf728f890f6d2cd8cc831ba95a5d2d0dac6e8e35 (patch)
tree12aa210bd50a74fe25da611c98d54ab4bb42634e /source3
parent4208d40a74cdf01cf404b6378f8b8b00715c3e63 (diff)
downloadsamba-cf728f890f6d2cd8cc831ba95a5d2d0dac6e8e35.tar.gz
samba-cf728f890f6d2cd8cc831ba95a5d2d0dac6e8e35.tar.bz2
samba-cf728f890f6d2cd8cc831ba95a5d2d0dac6e8e35.zip
s3-spoolss: fix some debug statements.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/nt_printing_migrate.c2
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
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;
}