summaryrefslogtreecommitdiff
path: root/sys/kern/kern_lkm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_lkm.c')
-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);
}