summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-29 03:55:07 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-29 03:55:07 +0000
commitf20c562d87144b5edd5667db1dfdd6cd5dc5cea4 (patch)
treecc2b891dc56c27bb35ae0feebf36c8985a03f418
parentec236415c2913111858b014c71682bfae1db83e1 (diff)
correct case KERNFS && !LKM
-rw-r--r--sys/ddb/db_aout.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c
index de7ec32ba5a..4daed2620ea 100644
--- a/sys/ddb/db_aout.c
+++ b/sys/ddb/db_aout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_aout.c,v 1.16 1997/05/29 03:28:43 mickey Exp $ */
+/* $OpenBSD: db_aout.c,v 1.17 1997/05/29 03:55:06 mickey Exp $ */
/* $NetBSD: db_aout.c,v 1.14 1996/02/27 20:54:43 gwr Exp $ */
/*
@@ -365,6 +365,7 @@ X_db_stub_xh(sym, xh)
xh->a_syms = *(int *)sym->private;
xh->a_data = 0;
if (sym->id != 0) { /* lkm */
+#ifdef LKM
struct lkm_table *p;
for (p = lkm_list(NULL);
p != NULL && p->sym_id != sym->id; p = lkm_list(p))
@@ -377,6 +378,9 @@ X_db_stub_xh(sym, xh)
else
printf("X_db_stub_xh: no lkm for symtab (ghost?)\n");
#endif
+#else
+ panic("X_db_stub_zh: symtab w/o lkm itself");
+#endif
}
}