diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-08 05:48:10 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-08 05:48:10 +0000 |
commit | 41dee4ae30a56bcd45f6ea7ab6c77d05aeeb8dd4 (patch) | |
tree | 9c7e9f609cb64aa2c5b0c91db9ffdf4c1967ab5e /sys/arch/macppc | |
parent | be25d75182fe29adcdc7c5f481cd6b3ddc68919a (diff) |
DOH, do not make a cut and paste error just before committing...
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r-- | sys/arch/macppc/macppc/db_disasm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/macppc/macppc/db_disasm.c b/sys/arch/macppc/macppc/db_disasm.c index a97fd8ac115..adcd499cc8a 100644 --- a/sys/arch/macppc/macppc/db_disasm.c +++ b/sys/arch/macppc/macppc/db_disasm.c @@ -1,5 +1,5 @@ /* $NetBSD: db_disasm.c,v 1.8 2001/06/12 05:31:44 simonb Exp $ */ -/* $OpenBSD: db_disasm.c,v 1.2 2001/09/08 05:41:13 drahn Exp $ */ +/* $OpenBSD: db_disasm.c,v 1.3 2001/09/08 05:48:09 drahn Exp $ */ /* * Copyright (c) 1996 Dale Rahn. All rights reserved. * @@ -675,10 +675,10 @@ disasm_process_field(u_int32_t addr, instr_t instr, char **ppfmt, char **ppoutpu db_find_sym_and_offset(BD, &name, &offset); if (name) { if (offset == 0) { - pstr += sprintf (pstr, "0x%x (%s)", addr + LI, + pstr += sprintf (pstr, "0x%x (%s)", addr + BD, name, offset); } else { - pstr += sprintf (pstr, "0x%x (%s+0x%x)", addr + LI, + pstr += sprintf (pstr, "0x%x (%s+0x%x)", addr + BD, name, offset); } } else { |