From 6638f070288e3e8c3b1480757542ebc0552f6009 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 8 May 2002 09:56:56 +0000 Subject: 2002-05-08 Roland McGrath * disk-pager.c (fault_handler): Use %z format for sc_pc. --- libdiskfs/disk-pager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdiskfs') 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); -- cgit v1.2.3