From 57bd576445e42a55887c41d270f2230f5136b873 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 14 Mar 2002 01:53:04 +0000 Subject: getpid() -> sys_getpid() (This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa) --- source3/libsmb/libsmbclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb/libsmbclient.c') 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)); -- cgit