summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-14 01:53:04 +0000
committerTim Potter <tpot@samba.org>2002-03-14 01:53:04 +0000
commit57bd576445e42a55887c41d270f2230f5136b873 (patch)
treebf65710f0350af25c5696aec28cc8542a1cee569 /source3/utils
parent8975d3ef70916bc13c8186c92e66260abc91aaaa (diff)
downloadsamba-57bd576445e42a55887c41d270f2230f5136b873.tar.gz
samba-57bd576445e42a55887c41d270f2230f5136b873.tar.bz2
samba-57bd576445e42a55887c41d270f2230f5136b873.zip
getpid() -> sys_getpid()
(This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbcontrol.c2
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) {