summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-09-23 19:44:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:46 -0500
commit729155a42826660dcc0bfa31b03ebd13f2506470 (patch)
tree49309c4c3f98f102c89736a33ea639594b378979 /source3/printing
parent5a8effaaae3c3037ae0f96a942734298950169c6 (diff)
downloadsamba-729155a42826660dcc0bfa31b03ebd13f2506470.tar.gz
samba-729155a42826660dcc0bfa31b03ebd13f2506470.tar.bz2
samba-729155a42826660dcc0bfa31b03ebd13f2506470.zip
r2570: minor fix with Rob's patch. use dos_errstr() instead of W_ERROR_V() when using %s in the format string
(This used to be commit b26e4dbd7fd616e672331fd36441b8bf74157904)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index f047daabee..3d664d25b8 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -380,7 +380,7 @@ BOOL nt_printing_init(void)
win_rc = check_published_printers();
if (!W_ERROR_IS_OK(win_rc))
- DEBUG(3, ("error checking published printers: %s\n", W_ERROR_V(win_rc)));
+ DEBUG(0, ("nt_printing_init: error checking published printers: %s\n", dos_errstr(win_rc)));
return True;
}
@@ -2870,7 +2870,7 @@ WERROR check_published_printers(void)
win_rc = nt_printer_publish_ads(ads, printer);
if (!W_ERROR_IS_OK(win_rc))
- DEBUG(3, ("error publishing %s: %s\n", printer->info_2->sharename, W_ERROR_V(win_rc)));
+ DEBUG(3, ("error publishing %s: %s\n", printer->info_2->sharename, dos_errstr(win_rc)));
next:
free_a_printer(&printer, 2);