summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@NetBSD.org>2014-08-11 10:36:01 +0200
committerKeith Packard <keithp@keithp.com>2014-08-17 14:18:45 -0700
commitc2548d71f7a754251d89696ae49aab2fe07446df (patch)
treefea06ef6fc38a44d3c49f8f1527234fbb078a0c2 /hw/xfree86/os-support
parentd4111239e698f0126123830429d74da7d24910ed (diff)
Fix format string.
Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xfree86/os-support')
-rw-r--r--hw/xfree86/os-support/bsd/ppc_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/bsd/ppc_video.c b/hw/xfree86/os-support/bsd/ppc_video.c
index 947a68678..3fd28c3b5 100644
--- a/hw/xfree86/os-support/bsd/ppc_video.c
+++ b/hw/xfree86/os-support/bsd/ppc_video.c
@@ -76,7 +76,7 @@ ppcMapVidMem(int ScreenNum, unsigned long Base, unsigned long Size, int flags)
(flags & VIDMEM_READONLY) ?
PROT_READ : (PROT_READ | PROT_WRITE), MAP_SHARED, fd, Base);
if (base == MAP_FAILED)
- FatalError("%s: could not mmap screen [s=%x,a=%x] (%s)",
+ FatalError("%s: could not mmap screen [s=%lx,a=%lx] (%s)",
"xf86MapVidMem", Size, Base, strerror(errno));
return base;