From c0288e0612187ecbfc4a81d071fd504ea8737b7a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 24 Mar 2012 20:17:08 +0100 Subject: lib/util: Remove obsolete sys_getpid() and sys_fork(). The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104 --- source3/auth/pass_check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/auth/pass_check.c') diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c index 74d6f1ffbc..ca99261678 100644 --- a/source3/auth/pass_check.c +++ b/source3/auth/pass_check.c @@ -378,7 +378,7 @@ static bool dfs_auth(char *user, char *password) } DEBUG(0, ("DCE login succeeded for principal %s on pid %d\n", - user, sys_getpid())); + user, getpid())); DEBUG(3, ("DCE principal: %s\n" " uid: %d\n" @@ -431,7 +431,7 @@ void dfs_unlogin(void) dce_error_inq_text(err, dce_errstr, &err2); DEBUG(0, ("DCE purge login context failed for server instance %d: %s\n", - sys_getpid(), dce_errstr)); + getpid(), dce_errstr)); } } #endif -- cgit