summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index cbd6a9c405..6f4fb5a0e7 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1010,8 +1010,7 @@ extern void build_options(bool screen);
* Reloading of the printers will not work here as we don't have a
* server info and rpc services set up. It will be called later.
*/
- if (!reload_services(smbd_messaging_context(), smbd_server_fd(),
- False)) {
+ if (!reload_services(smbd_messaging_context(), -1, False)) {
exit(1);
}