From 119c15fc4a994e594cc9b0e63557404fd59f3aac Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 8 Nov 2016 12:20:25 +0100 Subject: [PATCH] s3-printing: Improve debug message Signed-off-by: Andreas Schneider Reviewed-by: Guenther Deschner --- source3/printing/nt_printing_ads.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c index cf4c310ea75..2588e1de7e7 100644 --- a/source3/printing/nt_printing_ads.c +++ b/source3/printing/nt_printing_ads.c @@ -569,7 +569,9 @@ WERROR nt_printer_publish(TALLOC_CTX *mem_ctx, pinfo2->sharename, info2_mask, sinfo2, NULL, NULL); if (!W_ERROR_IS_OK(win_rc)) { - DEBUG(3, ("err %d saving data\n", W_ERROR_V(win_rc))); + DBG_NOTICE("Failed to update data for printer [%s] - %s\n", + pinfo2->sharename, + win_errstr(win_rc)); goto done; } -- 2.34.1