summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 17:19:26 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 17:19:26 +0100
commitddcab787c408824ff753b929abd2240bc088451d (patch)
treec8ce5dfec9e143e21defff7a8168ec2586046329 /source3/printing
parentedb7ac69cf739f4f266870adec4a7e51787d9ca8 (diff)
downloadsamba-ddcab787c408824ff753b929abd2240bc088451d.tar.gz
samba-ddcab787c408824ff753b929abd2240bc088451d.tar.bz2
samba-ddcab787c408824ff753b929abd2240bc088451d.zip
Rename dos_errstr() to win_errstr() for consistency with Samba 4.
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 9c1323eaa2..1a2e324201 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -659,7 +659,7 @@ bool nt_printing_init(struct messaging_context *msg_ctx)
if ( lp_security() == SEC_ADS ) {
win_rc = check_published_printers();
if (!W_ERROR_IS_OK(win_rc))
- DEBUG(0, ("nt_printing_init: error checking published printers: %s\n", dos_errstr(win_rc)));
+ DEBUG(0, ("nt_printing_init: error checking published printers: %s\n", win_errstr(win_rc)));
}
return True;
@@ -4749,7 +4749,7 @@ static WERROR get_a_printer_internal( Printer_entry *print_hnd, NT_PRINTER_INFO_
if ( !W_ERROR_IS_OK(result) ) {
TALLOC_FREE( *pp_printer );
DEBUG(10,("get_a_printer: [%s] level %u returning %s\n",
- sharename, (unsigned int)level, dos_errstr(result)));
+ sharename, (unsigned int)level, win_errstr(result)));
return result;
}