Skip to contentSkip to conversation

fix compiler error on 32-bit compile from c/s20575

PATCH New Dan Magenheimer 1 participant 1 message Dec 4, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix compiler error on 32-bit compile from c/s20575

xen/common/grant_table.c +1 -1
diff -r fde8e69858b0 xen/common/grant_table.c
@@ -2551,7 +2551,7 @@ void gnttab_usage_print(struct domain *r
         }
 
         /*      [ddd]    ddddd 0xXXXXXX 0xXXXXXXXX      ddddd 0xXXXXXX 0xXX */
-        printk("[%3d]    %5d 0x%06lx 0x%08x      %5d 0x%06lx 0x%02x\n",
+        printk("[%3d]    %5d 0x%06lx 0x%08x      %5d 0x%06"PRIx64" 0x%02x\n",
                ref, act->domid, act->frame, act->pin,
                sha->domid, frame, status);
     }
xen/common/grant_table.c +1 -1
diff -r fde8e69858b0 xen/common/grant_table.c
@@ -2551,7 +2551,7 @@ void gnttab_usage_print(struct domain *r
         }
 
         /*      [ddd]    ddddd 0xXXXXXX 0xXXXXXXXX      ddddd 0xXXXXXX 0xXX */
-        printk("[%3d]    %5d 0x%06lx 0x%08x      %5d 0x%06lx 0x%02x\n",
+        printk("[%3d]    %5d 0x%06lx 0x%08x      %5d 0x%06"PRIx64" 0x%02x\n",
                ref, act->domid, act->frame, act->pin,
                sha->domid, frame, status);
     }

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel