srv_spoolss_nt.c: fix wrong value in debug message
authorBjörn Jacke <bj@sernet.de>
Mon, 7 Sep 2020 21:45:06 +0000 (23:45 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 18 Sep 2020 00:35:40 +0000 (00:35 +0000)
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_server/spoolss/srv_spoolss_nt.c

index d746067d250fec145879ab369ad5a0ca8134f3e8..055ff17252647fd86517c7f18f8513c431978012 100644 (file)
@@ -6680,7 +6680,7 @@ static WERROR update_dsspooler(TALLOC_CTX *mem_ctx,
                                          buffer.data,
                                          buffer.length);
                if (!W_ERROR_IS_OK(result)) {
-                       DEBUG(0, ("Failed to set %s\n", SPOOL_REG_PRINTSHARENAME));
+                       DBG_ERR("Failed to set %s\n", SPOOL_REG_PRINTERNAME);
                        goto done;
                }