diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/smbcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index ce2d503971..f492a94542 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -193,7 +193,7 @@ static BOOL send_message(char *dest, int msg_type, void *buf, int len, BOOL dupl return False; } } else if (strequal(dest,"self")) { - pid = getpid(); + pid = sys_getpid(); } else { pid = atoi(dest); if (pid == 0) { |