diff options
author | Roland McGrath <roland@gnu.org> | 2001-12-31 23:52:44 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-12-31 23:52:44 +0000 |
commit | c356516a889d71e0e8b37e8ca5e7303fb3d1aa27 (patch) | |
tree | e087be52ec75281c8ab288552e03b771974abe3d | |
parent | b5bec5e5eed9b101f1bbf80a7dade4f6b28f573f (diff) |
2001-12-31 Roland McGrath <roland@frob.com>
* disk-pager.c (fault_handler): Use sc_pc instead of sc_eip.
-rw-r--r-- | libdiskfs/disk-pager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/disk-pager.c b/libdiskfs/disk-pager.c index b5ae53a1..8b440501 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, 1997, 1999 Free Software Foundation, Inc. + Copyright (C) 1996,97,99,2001 Free Software Foundation, Inc. Written by Roland McGrath. This program is free software; you can redistribute it and/or @@ -98,7 +98,7 @@ fault_handler (int sig, long int sigcode, struct sigcontext *scp) " eip %#x err %#x", sig, sigcode, preemptor.first, preemptor.last, - scp->sc_eip, scp->sc_error); + scp->sc_pc, scp->sc_error); assert (scp->sc_error == EKERN_MEMORY_ERROR); err = pager_get_error (diskfs_disk_pager, sigcode); assert (err); |