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

[Xen-changelog] [xen-unstable] [XEN] Fix building on OpenBSD.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 77e1baf0a5679a155c1f2ccdf3328bf476bf0c8b
# Parent  874cc0ff214daac1fec3890e083a6ca36b79dbfa
[XEN] Fix building on OpenBSD.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/x86_32/seg_fixup.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 874cc0ff214d -r 77e1baf0a567 xen/arch/x86/x86_32/seg_fixup.c
--- a/xen/arch/x86/x86_32/seg_fixup.c   Wed Nov 01 09:55:43 2006 +0000
+++ b/xen/arch/x86/x86_32/seg_fixup.c   Wed Nov 01 10:02:00 2006 +0000
@@ -296,8 +296,8 @@ int gpf_emulate_4gb(struct cpu_user_regs
         if ( get_user(b, pb) )
         {
             dprintk(XENLOG_DEBUG,
-                    "Fault while accessing byte %d of instruction\n",
-                    pb-eip);
+                    "Fault while accessing byte %ld of instruction\n",
+                    (long)(pb-eip));
             goto page_fault;
         }
 

_______________________________________________
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®.