Author: vlendec Date: 2005-08-30 14:50:45 +0000 (Tue, 30 Aug 2005) New Revision: 9801
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9801 Log: fix the build Modified: branches/tmp/vl-cluster/source/torture/msgtest.c Changeset: Modified: branches/tmp/vl-cluster/source/torture/msgtest.c =================================================================== --- branches/tmp/vl-cluster/source/torture/msgtest.c 2005-08-30 14:44:33 UTC (rev 9800) +++ branches/tmp/vl-cluster/source/torture/msgtest.c 2005-08-30 14:50:45 UTC (rev 9801) @@ -28,7 +28,7 @@ /**************************************************************************** a useful function for testing the message system ****************************************************************************/ -void pong_message(int msg_type, pid_t src, void *buf, size_t len) +void pong_message(int msg_type, struct process_id src, void *buf, size_t len) { pong_count++; } @@ -56,7 +56,7 @@ message_register(MSG_PONG, pong_message); for (i=0;i<n;i++) { - message_send_pid(pid_to_proc(pid), MSG_PING, NULL, 0, True); + message_send_pid(pid_to_procid(pid), MSG_PING, NULL, 0, True); } while (pong_count < i) { @@ -70,9 +70,9 @@ safe_strcpy(buf, "1234567890", sizeof(buf)-1); for (i=0;i<n;i++) { - message_send_pid(pid_to_proc(getpid()), MSG_PING, + message_send_pid(pid_to_procid(getpid()), MSG_PING, NULL, 0, False); - message_send_pid(pid_to_proc(getpid()), MSG_PING, + message_send_pid(pid_to_procid(getpid()), MSG_PING, buf, 11, False); }
