summaryrefslogtreecommitdiff
path: root/source3/lib/genrand.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/genrand.c')
-rw-r--r--source3/lib/genrand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/genrand.c b/source3/lib/genrand.c
index a9698d4cd1..102eec6300 100644
--- a/source3/lib/genrand.c
+++ b/source3/lib/genrand.c
@@ -163,7 +163,7 @@ static uint32 do_reseed(unsigned char *md4_outbuf)
* Finally add the counter, time of day, and pid.
*/
GetTimeOfDay(&tval);
- mypid = getpid();
+ mypid = sys_getpid();
v1 = (counter++) + mypid + tval.tv_sec;
v2 = (counter++) * mypid + tval.tv_usec;