aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-01 10:02:00 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-01 10:02:00 +0000
commit4861255f5c66ca4e5462b2bb6ff1f724f863550b (patch)
tree8f01977e8c17f72bf23f5d501a65c27ebd4b6aad
parenta34ae4f0cedac253cbc97314069bfa534f0de13c (diff)
downloadxen-4861255f5c66ca4e5462b2bb6ff1f724f863550b.tar.gz
xen-4861255f5c66ca4e5462b2bb6ff1f724f863550b.tar.bz2
xen-4861255f5c66ca4e5462b2bb6ff1f724f863550b.zip
[XEN] Fix building on OpenBSD.
Signed-off-by: Keir Fraser <keir@xensource.com>
-rw-r--r--xen/arch/x86/x86_32/seg_fixup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/x86_32/seg_fixup.c b/xen/arch/x86/x86_32/seg_fixup.c
index 9a1db40b87..643a1eec1f 100644
--- a/xen/arch/x86/x86_32/seg_fixup.c
+++ b/xen/arch/x86/x86_32/seg_fixup.c
@@ -296,8 +296,8 @@ int gpf_emulate_4gb(struct cpu_user_regs *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;
}