summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/trap.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-10-08 09:02:39 +0000
committermarcel <marcel@FreeBSD.org>1999-10-08 09:02:39 +0000
commit421cd96595cf7ac5c3aef495760e1f353eeaf9c8 (patch)
tree0c7dbe476e048080c89c28d1054364f66293327c /usr.bin/doscmd/trap.c
parentc3c39363afef9b3371b6126136c8b20a938969aa (diff)
downloadFreeBSD-src-421cd96595cf7ac5c3aef495760e1f353eeaf9c8.zip
FreeBSD-src-421cd96595cf7ac5c3aef495760e1f353eeaf9c8.tar.gz
Fix the breakage of doscmd that was caused by the rebirth
of sigcontext and the change in mcontext_t. Partial fix submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>`
Diffstat (limited to 'usr.bin/doscmd/trap.c')
-rw-r--r--usr.bin/doscmd/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/doscmd/trap.c b/usr.bin/doscmd/trap.c
index 1c743b3..f0bfc85 100644
--- a/usr.bin/doscmd/trap.c
+++ b/usr.bin/doscmd/trap.c
@@ -296,8 +296,8 @@ sigbus(struct sigframe *sf)
if ((int)sf->sf_siginfo != 0) {
fatal("SIGBUS code %d, trapno: %d, err: %d\n",
- (int)sf->sf_siginfo, sf->sf_uc.uc_mcontext.mc_tf.tf_trapno,
- sf->sf_uc.uc_mcontext.mc_tf.tf_err);
+ (int)sf->sf_siginfo, sf->sf_uc.uc_mcontext.mc_trapno,
+ sf->sf_uc.uc_mcontext.mc_err);
}
addr = (u_char *)MAKEPTR(R_CS, R_IP);
OpenPOWER on IntegriCloud