ia64/xen-unstable

changeset 12068:77e1baf0a567

[XEN] Fix building on OpenBSD.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Nov 01 10:02:00 2006 +0000 (2006-11-01)
parents 874cc0ff214d
children 0b6f49d25d4f
files xen/arch/x86/x86_32/seg_fixup.c
line diff
     1.1 --- a/xen/arch/x86/x86_32/seg_fixup.c	Wed Nov 01 09:55:43 2006 +0000
     1.2 +++ b/xen/arch/x86/x86_32/seg_fixup.c	Wed Nov 01 10:02:00 2006 +0000
     1.3 @@ -296,8 +296,8 @@ int gpf_emulate_4gb(struct cpu_user_regs
     1.4          if ( get_user(b, pb) )
     1.5          {
     1.6              dprintk(XENLOG_DEBUG,
     1.7 -                    "Fault while accessing byte %d of instruction\n",
     1.8 -                    pb-eip);
     1.9 +                    "Fault while accessing byte %ld of instruction\n",
    1.10 +                    (long)(pb-eip));
    1.11              goto page_fault;
    1.12          }
    1.13