aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bxe/bxe_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/bxe/bxe_debug.c')
-rw-r--r--sys/dev/bxe/bxe_debug.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/bxe/bxe_debug.c b/sys/dev/bxe/bxe_debug.c
index cd7678d7844e..f6d7dd832367 100644
--- a/sys/dev/bxe/bxe_debug.c
+++ b/sys/dev/bxe/bxe_debug.c
@@ -292,13 +292,7 @@ static void bxe_ddb_usage()
db_printf("Usage: bxe[/hpv] <instance> [<address>]\n");
}
-static db_cmdfcn_t bxe_ddb;
-_DB_SET(_cmd, bxe, bxe_ddb, db_cmd_table, CS_OWN, NULL);
-
-static void bxe_ddb(db_expr_t blah1,
- boolean_t blah2,
- db_expr_t blah3,
- char *blah4)
+DB_COMMAND_FLAGS(bxe, bxe_ddb, CS_OWN)
{
char if_xname[IFNAMSIZ];
if_t ifp = NULL;