diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-09-09 14:29:27 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-09-09 14:29:27 +0000 |
commit | e8b1b71b2e9214109440a45d8791559d5e46145c (patch) | |
tree | 5bead029fe10475a8d0a616174ef3da4cb867bc5 | |
parent | ec149dd4595d4b53b3741eb781d8383eaa185a55 (diff) |
fix db_add_symtab arguments.
-rw-r--r-- | sys/kern/kern_lkm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/kern_lkm.c b/sys/kern/kern_lkm.c index 93eaa741ff2..4137b6fe9a7 100644 --- a/sys/kern/kern_lkm.c +++ b/sys/kern/kern_lkm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_lkm.c,v 1.8 1996/09/04 22:24:23 niklas Exp $ */ +/* $OpenBSD: kern_lkm.c,v 1.9 1996/09/09 14:29:26 mickey Exp $ */ /* $NetBSD: kern_lkm.c,v 1.31 1996/03/31 21:40:27 christos Exp $ */ /* @@ -492,7 +492,8 @@ lkmioctl(dev, cmd, data, flag, p) db_add_symbol_table(curp->syms, curp->syms + curp->sym_symsize, curp->private.lkm_any->lkm_name, - curp->syms, NULL); + curp->syms, + curp->syms + curp->sym_size ); printf("DDB symbols added: %d bytes\n", curp->sym_symsize); } #endif |