summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index 87df5659c7..7a51703c01 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -2272,8 +2272,7 @@ WERROR _spoolss_DeletePrinterDriverEx(struct pipes_struct *p,
printer_driver_files_in_use(tmp_ctx,
b,
info)) {
- /* no idea of the correct error here */
- status = WERR_ACCESS_DENIED;
+ status = WERR_PRINTER_DRIVER_IN_USE;
goto done;
}