summaryrefslogtreecommitdiff
path: root/source3/smbd/server_reload.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/server_reload.c')
-rw-r--r--source3/smbd/server_reload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server_reload.c b/source3/smbd/server_reload.c
index aed1037718..e958d284f8 100644
--- a/source3/smbd/server_reload.c
+++ b/source3/smbd/server_reload.c
@@ -69,7 +69,7 @@ void reload_printers(void)
DSPRINT_UNPUBLISH);
TALLOC_FREE(pinfo2);
}
- del_a_printer(pname);
+ nt_printer_remove(server_info, server_info, pname);
lp_killservice(snum);
}
}