diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-01-19 01:08:17 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-01-19 01:08:17 +0000 |
commit | 9bc24a139949cef6c2b5dd27a2ee5be0f675d5ed (patch) | |
tree | 3b04267e752db1f427a9fce889be1e62d97d41ed /sys/ddb/db_command.c | |
parent | 5edcd5f8f5844e468d470c15de877705fb0d6d96 (diff) |
A couple #ifdefs were missed when the final name of the DDB_STRUCT
option was settled on. Fix those last couple so that the new
commands are actually accessible.
"Oops" miod@
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r-- | sys/ddb/db_command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 9d09f4cd4e7..3bf33d09eaf 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_command.c,v 1.60 2009/08/17 13:11:58 jasper Exp $ */ +/* $OpenBSD: db_command.c,v 1.61 2010/01/19 01:08:16 guenther Exp $ */ /* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */ /* @@ -518,7 +518,7 @@ struct db_command db_show_cmds[] = { { "nfsnode", db_nfsnode_print_cmd, 0, NULL }, #endif { "object", db_object_print_cmd, 0, NULL }, -#ifdef DDB_STRUCT_INFORMATION +#ifdef DDB_STRUCT { "offset", db_struct_offset_cmd, CS_OWN, NULL }, #endif { "page", db_page_print_cmd, 0, NULL }, @@ -526,7 +526,7 @@ struct db_command db_show_cmds[] = { { "pool", db_pool_print_cmd, 0, NULL }, { "proc", db_proc_print_cmd, 0, NULL }, { "registers", db_show_regs, 0, NULL }, -#ifdef DDB_STRUCT_INFORMATION +#ifdef DDB_STRUCT { "struct", db_struct_layout_cmd, CS_OWN, NULL }, #endif { "uvmexp", db_uvmexp_print_cmd, 0, NULL }, |