summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clidgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/libsmb/clidgram.c')
-rw-r--r--source/libsmb/clidgram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clidgram.c b/source/libsmb/clidgram.c
index 819616105ed..dfb613238f6 100644
--- a/source/libsmb/clidgram.c
+++ b/source/libsmb/clidgram.c
@@ -101,7 +101,7 @@ BOOL cli_send_mailslot(BOOL unique, const char *mailslot,
DEBUGADD(4,("to %s IP %s\n", nmb_namestr(&dgram->dest_name),
inet_ntoa(dest_ip)));
- return message_send_pid(nmbd_pid, MSG_SEND_PACKET, &p, sizeof(p),
+ return message_send_pid(pid_to_procid(nmbd_pid), MSG_SEND_PACKET, &p, sizeof(p),
False);
}