summaryrefslogtreecommitdiff
path: root/source3/libsmb
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/libsmb
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/libsmb')
-rw-r--r--source3/libsmb/libsmbclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index 01b4186553..eb2b7ae25b 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -518,7 +518,7 @@ int smbc_init(smbc_get_auth_data_fn fn, int debug)
/*
* Hmmm, I want to get hostname as well, but I am too lazy for the moment
*/
- pid = getpid();
+ pid = sys_getpid();
slprintf(my_netbios_name, 16, "smbc%s%d", user, pid);
}
DEBUG(0,("Using netbios name %s.\n", my_netbios_name));