Author: vlendec Date: 2005-08-27 11:42:57 +0000 (Sat, 27 Aug 2005) New Revision: 9679
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9679 Log: Fix debug message Modified: branches/tmp/vl-cluster/source/lib/messages.c Changeset: Modified: branches/tmp/vl-cluster/source/lib/messages.c =================================================================== --- branches/tmp/vl-cluster/source/lib/messages.c 2005-08-27 11:26:50 UTC (rev 9678) +++ branches/tmp/vl-cluster/source/lib/messages.c 2005-08-27 11:42:57 UTC (rev 9679) @@ -87,8 +87,8 @@ void *buf, size_t len) { const char *msg = buf ? buf : "none"; - DEBUG(1,("INFO: Received PING message from PID %u [%s]\n", - (unsigned int)procid_to_pid(&src), msg)); + DEBUG(1,("INFO: Received PING message from PID %s [%s]\n", + procid_str_static(&src), msg)); message_send_pid(src, MSG_PONG, buf, len, True); } @@ -227,7 +227,7 @@ rec.msg_version = MESSAGE_VERSION; rec.msg_type = msg_type; rec.dest = pid; - rec.src = pid_to_procid(sys_getpid()); + rec.src = procid_self(); rec.len = len; kbuf = message_key_pid(pid);
