git: 3a9e3ed6b003 - main - ddb: Always terminate DB_SHOW_ALIAS_FLAGS with a semi-colon.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Jul 2023 23:02:09 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=3a9e3ed6b003cdf60f11c109bdeaa337b3f3466d
commit 3a9e3ed6b003cdf60f11c109bdeaa337b3f3466d
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-07-05 23:00:31 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-07-05 23:00:31 +0000
ddb: Always terminate DB_SHOW_ALIAS_FLAGS with a semi-colon.
Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D40818
---
sys/kern/subr_turnstile.c | 2 +-
sys/kern/subr_witness.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c
index d976d0994668..76b9a4306226 100644
--- a/sys/kern/subr_turnstile.c
+++ b/sys/kern/subr_turnstile.c
@@ -1263,7 +1263,7 @@ DB_SHOW_ALL_COMMAND(chains, db_show_allchains)
}
}
}
-DB_SHOW_ALIAS_FLAGS(allchains, db_show_allchains, DB_CMD_MEMSAFE)
+DB_SHOW_ALIAS_FLAGS(allchains, db_show_allchains, DB_CMD_MEMSAFE);
static void print_waiters(struct turnstile *ts, int indent);
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 839e4a4ce54b..e4405ff2f84f 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -2648,7 +2648,7 @@ DB_SHOW_ALL_COMMAND(locks, db_witness_list_all)
}
}
}
-DB_SHOW_ALIAS_FLAGS(alllocks, db_witness_list_all, DB_CMD_MEMSAFE)
+DB_SHOW_ALIAS_FLAGS(alllocks, db_witness_list_all, DB_CMD_MEMSAFE);
DB_SHOW_COMMAND_FLAGS(witness, db_witness_display, DB_CMD_MEMSAFE)
{