summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 e7a7d31527..cc51979c34 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -274,8 +274,7 @@ static void remove_child_pid(struct tevent_context *ev_ctx,
}
}
- child_id = procid_self(); /* Just initialize pid and potentially vnn */
- child_id.pid = pid;
+ child_id = pid_to_procid(pid);
if (!serverid_deregister(child_id)) {
DEBUG(1, ("Could not remove pid %d from serverid.tdb\n",