summaryrefslogtreecommitdiff
path: root/source3/printing/load.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/load.c')
-rw-r--r--source3/printing/load.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/printing/load.c b/source3/printing/load.c
index 99b5226159..58ff8812f4 100644
--- a/source3/printing/load.c
+++ b/source3/printing/load.c
@@ -54,8 +54,10 @@ load automatic printer services
***************************************************************************/
void load_printers(void)
{
- if (!pcap_cache_loaded())
- pcap_cache_reload();
+ if (!pcap_cache_loaded()) {
+ pcap_cache_reload(server_event_context(),
+ server_messaging_context());
+ }
add_auto_printers();