summaryrefslogtreecommitdiff
path: root/libdiskfs/disk-pager.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-08 09:56:56 +0000
committerRoland McGrath <roland@gnu.org>2002-05-08 09:56:56 +0000
commit6638f070288e3e8c3b1480757542ebc0552f6009 (patch)
tree234dde9a249ad78a0e775e27a235fd1741eb68ca /libdiskfs/disk-pager.c
parentac081bb7164e3e633bb1f05aebac4e5acede361a (diff)
2002-05-08 Roland McGrath <roland@frob.com>
* disk-pager.c (fault_handler): Use %z format for sc_pc.
Diffstat (limited to 'libdiskfs/disk-pager.c')
-rw-r--r--libdiskfs/disk-pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/disk-pager.c b/libdiskfs/disk-pager.c
index 8b440501..fefd2ef4 100644
--- a/libdiskfs/disk-pager.c
+++ b/libdiskfs/disk-pager.c
@@ -1,5 +1,5 @@
/* Map the disk image and handle faults accessing it.
- Copyright (C) 1996,97,99,2001 Free Software Foundation, Inc.
+ Copyright (C) 1996,97,99,2001,02 Free Software Foundation, Inc.
Written by Roland McGrath.
This program is free software; you can redistribute it and/or
@@ -95,7 +95,7 @@ fault_handler (int sig, long int sigcode, struct sigcontext *scp)
{
error (0, 0,
"BUG: unexpected fault on disk image (%d, %#lx) in [%#lx,%#lx)"
- " eip %#x err %#x",
+ " eip %#zx err %#x",
sig, sigcode,
preemptor.first, preemptor.last,
scp->sc_pc, scp->sc_error);