[openib-general] [PATCH] [uDAPL] Fix compile of dapl_bpool.c on x86_64

Hal Rosenstock halr at voltaire.com
Tue Jun 28 08:30:46 PDT 2005


I was able to build udapltest for both x86 and x86-64 with the following
change:

uDAPL: Fix compile of dapl_bpool.c on x86_64

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

--- userspace/test/dapltest/test/dapl_bpool.c.orig      2005-01-18
13:20:31.000000000 -0500
+++ userspace/test/dapltest/test/dapl_bpool.c   2005-06-24
23:47:43.000000000 -0400
@@ -356,8 +356,8 @@
                     "BPOOL alloc_size     %x\n",
                     (int) bpool_ptr->alloc_size);
     DT_Tdep_PT_Printf (phead, 
-                    "BPOOL pz_handle      %x\n",
-                    (int) bpool_ptr->pz_handle);
+                    "BPOOL pz_handle      %p\n",
+                    bpool_ptr->pz_handle);
     DT_Tdep_PT_Printf (phead, 
                     "BPOOL num_segs       %x\n",
                     (int) bpool_ptr->num_segs);





More information about the general mailing list