diff options
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss_util.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c index 33d0cb1e1f..60d282551f 100644 --- a/source3/rpc_server/srv_spoolss_util.c +++ b/source3/rpc_server/srv_spoolss_util.c @@ -1983,7 +1983,7 @@ WERROR winreg_get_printer(TALLOC_CTX *mem_ctx, &hive_hnd, &key_hnd); if (!W_ERROR_IS_OK(result)) { - DEBUG(0, ("winreg_get_printer: Could not open key %s: %s\n", + DEBUG(2, ("winreg_get_printer: Could not open key %s: %s\n", path, win_errstr(result))); goto done; } @@ -2645,7 +2645,7 @@ WERROR winreg_get_printer_dataex(TALLOC_CTX *mem_ctx, &hive_hnd, &key_hnd); if (!W_ERROR_IS_OK(result)) { - DEBUG(0, ("winreg_get_printer_dataex: Could not open key %s: %s\n", + DEBUG(2, ("winreg_get_printer_dataex: Could not open key %s: %s\n", key, win_errstr(result))); goto done; } @@ -2762,7 +2762,7 @@ WERROR winreg_enum_printer_dataex(TALLOC_CTX *mem_ctx, &hive_hnd, &key_hnd); if (!W_ERROR_IS_OK(result)) { - DEBUG(0, ("winreg_enum_printer_dataex: Could not open key %s: %s\n", + DEBUG(2, ("winreg_enum_printer_dataex: Could not open key %s: %s\n", key, win_errstr(result))); goto done; } @@ -2918,7 +2918,7 @@ WERROR winreg_enum_printer_key(TALLOC_CTX *mem_ctx, &hive_hnd, &key_hnd); if (!W_ERROR_IS_OK(result)) { - DEBUG(0, ("winreg_enum_printer_key: Could not open key %s: %s\n", + DEBUG(2, ("winreg_enum_printer_key: Could not open key %s: %s\n", key, win_errstr(result))); goto done; } @@ -3143,7 +3143,7 @@ WERROR winreg_printer_get_changeid(TALLOC_CTX *mem_ctx, &hive_hnd, &key_hnd); if (!W_ERROR_IS_OK(result)) { - DEBUG(0, ("winreg_printer_get_changeid: Could not open key %s: %s\n", + DEBUG(2, ("winreg_printer_get_changeid: Could not open key %s: %s\n", path, win_errstr(result))); goto done; } @@ -3627,7 +3627,7 @@ WERROR winreg_printer_getform1(TALLOC_CTX *mem_ctx, &hive_hnd, &key_hnd); if (!W_ERROR_IS_OK(result)) { - DEBUG(0, ("winreg_printer_getform1: Could not open key %s: %s\n", + DEBUG(2, ("winreg_printer_getform1: Could not open key %s: %s\n", TOP_LEVEL_CONTROL_FORMS_KEY, win_errstr(result))); goto done; } |