summaryrefslogtreecommitdiff
path: root/source3/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
commit57bd576445e42a55887c41d270f2230f5136b873 (patch)
treebf65710f0350af25c5696aec28cc8542a1cee569 /source3/lib/debug.c
parent8975d3ef70916bc13c8186c92e66260abc91aaaa (diff)
downloadsamba-57bd576445e42a55887c41d270f2230f5136b873.tar.gz
getpid() -> sys_getpid()
(This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
Diffstat (limited to 'source3/lib/debug.c')
-rw-r--r--source3/lib/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c
index 87a8d429994..7960c32b583 100644
--- a/source3/lib/debug.c
+++ b/source3/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])