Skip to contentSkip to conversation

warning on printf format

PATCH New aq 1 participant 1 message Aug 14, 2005

lore
Share & tools
lore

aq

author
#0 lore raw

PATCH 1/1 warning on printf format

This patch fixes a warning message on printf format.

xen/arch/x86/mm.c Mon Aug 15 02:33:21 2005 renamed from xen/arch/x86/mm.c Sun Aug 14 09:17:54 2005 +2 -2
diff -r 3fe7b0b7f6c5 xen/arch/x86/mm.c
@@ -3054,7 +3054,7 @@
          */
         BUG();
     }
-    PTWR_PRINTK("[%c] disconnected_l1va at %p is %lx\n",
+    PTWR_PRINTK("[%c] disconnected_l1va at %p is %x\n",
                 PTWR_PRINT_WHICH, ptep, pte.l1);
     l1e_remove_flags(pte, _PAGE_RW);
 
@@ -3072,7 +3072,7 @@
     /* Ensure that there are no stale writable mappings in any TLB. */
     /* NB. INVLPG is a serialising instruction: flushes pending updates. */
     flush_tlb_one_mask(d->cpumask, l1va);
-    PTWR_PRINTK("[%c] disconnected_l1va at %p now %lx\n",
+    PTWR_PRINTK("[%c] disconnected_l1va at %p now %x\n",
                 PTWR_PRINT_WHICH, ptep, pte.l1);
 
     /*