summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2001-02-10 10:43:19 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2001-02-10 10:43:19 +0000
commit5bfde2c9bd95671842fedd8d95bf23e072278fb3 (patch)
tree1abbcb3d3f121b6be953ef37a37676a20a6446cc /sys/kern
parent5e833b12704c89c1fad72b7b6f3706cfd15ab035 (diff)
new symbol handling in ddb for ELF, there is still a problem with hangman on alpha though..
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_lkm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_lkm.c b/sys/kern/kern_lkm.c
index 77382bdecee..b6cff77961b 100644
--- a/sys/kern/kern_lkm.c
+++ b/sys/kern/kern_lkm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_lkm.c,v 1.27 2001/02/06 16:38:13 fgsch Exp $ */
+/* $OpenBSD: kern_lkm.c,v 1.28 2001/02/10 10:42:35 niklas Exp $ */
/* $NetBSD: kern_lkm.c,v 1.31 1996/03/31 21:40:27 christos Exp $ */
/*
@@ -509,7 +509,7 @@ lkmioctl(dev, cmd, data, flag, p)
curp->sym_id = db_add_symbol_table(curp->syms,
curp->syms + curp->sym_symsize,
curp->private.lkm_any->lkm_name,
- curp->syms, curp->syms + curp->sym_size);
+ curp->syms);
printf("DDB symbols added: %ld bytes\n",
curp->sym_symsize);
}