summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-29 22:42:01 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-29 22:42:01 +0000
commit6f793668f5088082aa3f06e77b8d4e065699e87a (patch)
tree9d2ae54efc40b4527b999a4889c41752222d81f6
parente79398f746d8e0cb1fa6645424b8a1de1d13130b (diff)
save symtab id after addition to ddb for future use
-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 c415c7193fd..a4839e66e03 100644
--- a/sys/kern/kern_lkm.c
+++ b/sys/kern/kern_lkm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_lkm.c,v 1.14 1997/02/06 13:09:13 deraadt Exp $ */
+/* $OpenBSD: kern_lkm.c,v 1.15 1997/05/29 22:42:00 mickey Exp $ */
/* $NetBSD: kern_lkm.c,v 1.31 1996/03/31 21:40:27 christos Exp $ */
/*
@@ -489,7 +489,7 @@ lkmioctl(dev, cmd, data, flag, p)
#endif /* DEBUG */
#ifdef DDB
if (curp->syms && curp->sym_offset >= curp->sym_size) {
- db_add_symbol_table(curp->syms,
+ curp->sym_id = db_add_symbol_table(curp->syms,
curp->syms + curp->sym_symsize,
curp->private.lkm_any->lkm_name,
curp->syms,