summaryrefslogtreecommitdiffstats
path: root/source/lib/debug.c
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
commita3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa (patch)
tree53be81f17f3c1d228cb6125d9f16183d31196baf /source/lib/debug.c
parentd7efc5dd3dd712e7138b5c79eea9756125757175 (diff)
downloadsamba-a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa.tar.gz
samba-a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa.tar.xz
samba-a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa.zip
getpid() -> sys_getpid()
Diffstat (limited to 'source/lib/debug.c')
-rw-r--r--source/lib/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/debug.c b/source/lib/debug.c
index 87a8d429994..7960c32b583 100644
--- a/source/lib/debug.c
+++ b/source/lib/debug.c
@@ -239,7 +239,7 @@ BOOL debug_parse_levels(char *params_str)
if (debug_parse_params(params, debuglevel_class,
debuglevel_class_isset)) {
- debug_message(0, getpid(), (void*)debuglevel_class, sizeof(debuglevel_class));
+ debug_message(0, sys_getpid(), (void*)debuglevel_class, sizeof(debuglevel_class));
memcpy(DEBUGLEVEL_CLASS, debuglevel_class,
sizeof(debuglevel_class));
@@ -276,7 +276,7 @@ void debug_message(int msg_type, pid_t src, void *buf, size_t len)
DEBUG(3,("INFO: Debug class %s level = %d (pid %u from pid %u)\n",
classname_table[DBGC_ALL],
- DEBUGLEVEL_CLASS[DBGC_ALL], (unsigned int)getpid(), (unsigned int)src));
+ DEBUGLEVEL_CLASS[DBGC_ALL], (unsigned int)sys_getpid(), (unsigned int)src));
for (i=1; i<DBGC_LAST; i++) {
if (DEBUGLEVEL_CLASS[i])