lib/util: Remove obsolete sys_getpid() and sys_fork().
[amitay/samba.git] / source3 / rpc_server / rpc_handles.c
index f98b2355fc3f88a9c693f880fed2716cafa428f3..d0b9777f6f03449ec9556a70a4923a0f63ab73e1 100644 (file)
@@ -292,7 +292,7 @@ static struct dcesrv_handle *create_rpc_handle_internal(struct pipes_struct *p,
        /* something random */
        SSVAL(rpc_hnd->wire_handle.uuid.node, 0, t);
        /* something more random */
-       SIVAL(rpc_hnd->wire_handle.uuid.node, 2, sys_getpid());
+       SIVAL(rpc_hnd->wire_handle.uuid.node, 2, getpid());
 
        DLIST_ADD(p->pipe_handles->handles, rpc_hnd);
        p->pipe_handles->count++;