From 8b92cf31017c6b23e09860f2e091637f02143a8a Mon Sep 17 00:00:00 2001 From: mickey Date: Mon, 9 Sep 1996 14:29:26 +0000 Subject: [PATCH] fix db_add_symtab arguments. --- sys/kern/kern_lkm.c | 5 +++-- 1 file 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 -- 2.20.1