[SCM] Samba Shared Repository - branch master updated

Günther Deschner gd at samba.org
Fri Sep 3 04:19:50 MDT 2010


The branch, master has been updated
       via  cf728f8 s3-spoolss: fix some debug statements.
      from  4208d40 docs:vfs_gpfs: improve the CAVEAT section on run and build time dependencies

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit cf728f890f6d2cd8cc831ba95a5d2d0dac6e8e35
Author: Günther Deschner <gd at samba.org>
Date:   Thu Sep 2 13:41:08 2010 +0200

    s3-spoolss: fix some debug statements.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source3/printing/nt_printing_migrate.c |    2 +-
 source3/rpc_server/srv_spoolss_nt.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/printing/nt_printing_migrate.c b/source3/printing/nt_printing_migrate.c
index 362eb90..2060b91 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 6ce377d..281de00 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;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list