[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [HVM] Fix stupid printf formatting error that breaks x86/64 build.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 7c5ea4f50bd957744a1f95a738c14b8de65ad21c
# Parent  5ab400346b13b4a824ec11d36131aa748a79198a
[HVM] Fix stupid printf formatting error that breaks x86/64 build.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/svm/svm.c |    2 +-
 xen/arch/x86/hvm/vmx/vmx.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 5ab400346b13 -r 7c5ea4f50bd9 xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c        Wed Sep 27 10:17:03 2006 +0100
+++ b/xen/arch/x86/hvm/svm/svm.c        Wed Sep 27 13:54:04 2006 +0100
@@ -342,7 +342,7 @@ static inline int long_mode_do_msr_write
         /* offending reserved bit will cause #GP */
         if ( msr_content & ~(EFER_LME | EFER_LMA | EFER_NX | EFER_SCE) )
         {
-            printk("Trying to set reserved bit in EFER: %016llx\n",
+            printk("Trying to set reserved bit in EFER: %"PRIx64"\n",
                    msr_content);
             svm_inject_exception(vc, TRAP_gp_fault, 1, 0);
             return 0;
diff -r 5ab400346b13 -r 7c5ea4f50bd9 xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Wed Sep 27 10:17:03 2006 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Wed Sep 27 13:54:04 2006 +0100
@@ -290,7 +290,7 @@ static inline int long_mode_do_msr_write
         /* offending reserved bit will cause #GP */
         if ( msr_content & ~(EFER_LME | EFER_LMA | EFER_NX | EFER_SCE) )
         {
-            printk("Trying to set reserved bit in EFER: %016llx\n",
+            printk("Trying to set reserved bit in EFER: %"PRIx64"\n",
                    msr_content);
             vmx_inject_hw_exception(v, TRAP_gp_fault, 0);
             return 0;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.