[openib-general] [PATCH] printf fix for dapl/dtest
Steve Wise
swise at opengridcomputing.com
Tue Mar 28 05:45:21 PST 2006
James,
A fix to dapl/test/dtest/dtest.c to correctly print out the cookie on a
DTO error.
Signed-off-by: Steve Wise <swise at opengridcomputing.com>
Index: dtest.c
===================================================================
--- dtest.c (revision 6031)
+++ dtest.c (working copy)
@@ -1155,7 +1155,7 @@
}
if ((event.event_data.dto_completion_event_data.transfered_length != buf_len ) ||
(event.event_data.dto_completion_event_data.user_cookie.as_64 != 0x9999 )) {
- fprintf(stderr, "%d: ERROR: DTO len %d or cookie %x\n",
+ fprintf(stderr, "%d: ERROR: DTO len %d or cookie %llx\n",
getpid(),
event.event_data.dto_completion_event_data.transfered_length,
event.event_data.dto_completion_event_data.user_cookie.as_64 );
More information about the general
mailing list