summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-04-27 22:17:10 +0000
committerJeremy Allison <jra@samba.org>2001-04-27 22:17:10 +0000
commitc11887e3257c8dfe650f5004106a43a891ab4b31 (patch)
tree5c38e900a2a90942d2f632f33dfe69fe418f0869 /source3/lib
parent5345d9eb57d7d8e1c8b3a4ae17e20ef87c24345d (diff)
downloadsamba-c11887e3257c8dfe650f5004106a43a891ab4b31.tar.gz
samba-c11887e3257c8dfe650f5004106a43a891ab4b31.tar.bz2
samba-c11887e3257c8dfe650f5004106a43a891ab4b31.zip
More debug %d -> %u issues.
Jeremy. (This used to be commit 6fcb600dcd23c61d1a7d2ce8c2b7b2eea2e58623)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/messages.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index 5591f141cc..3b45a9c305 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -70,7 +70,7 @@ a useful function for testing the message system
****************************************************************************/
void ping_message(int msg_type, pid_t src, void *buf, size_t len)
{
- DEBUG(1,("INFO: Received PING message from PID %d\n",src));
+ DEBUG(1,("INFO: Received PING message from PID %u\n",(unsigned int)src));
message_send_pid(src, MSG_PONG, buf, len, True);
}
/****************************************************************************
@@ -78,7 +78,7 @@ return current debug level
****************************************************************************/
void debuglevel_message(int msg_type, pid_t src, void *buf, size_t len)
{
- DEBUG(1,("INFO: Received REQ_DEBUGLEVEL message from PID %d\n",src));
+ DEBUG(1,("INFO: Received REQ_DEBUGLEVEL message from PID %u\n",(unsigned int)src));
message_send_pid(src, MSG_DEBUGLEVEL, DEBUGLEVEL_CLASS, sizeof(DEBUGLEVEL_CLASS), True);
}
@@ -372,8 +372,8 @@ static int traverse_fn(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf, void
/* if the pid was not found delete the entry from connections.tdb */
if (errno == ESRCH) {
- DEBUG(2,("pid %d doesn't exist - deleting connections %d [%s]\n",
- crec.pid, crec.cnum, crec.name));
+ DEBUG(2,("pid %u doesn't exist - deleting connections %d [%s]\n",
+ (unsigned int)crec.pid, crec.cnum, crec.name));
tdb_delete(the_tdb, kbuf);
}
}