git: 0fbe78cdba42 - main - proc.h: capitalize letter in TD_LOCKS_DEC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Jun 2023 12:46:57 UTC
The branch main has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=0fbe78cdba42a04a29930c68570c7ac0c3ff1bc7
commit 0fbe78cdba42a04a29930c68570c7ac0c3ff1bc7
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2023-06-13 12:46:20 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2023-06-13 12:46:20 +0000
proc.h: capitalize letter in TD_LOCKS_DEC
The other related macros capitalize "thread" as well, so use the same
style. No functional change intended.
Reviewed by: markj
Approved by: markj (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D40506
---
sys/sys/proc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index d4c5680ba5ed..ca3911e9db66 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -430,7 +430,7 @@ do { \
#define TD_LOCKS_INC(td) ((td)->td_locks++)
#define TD_LOCKS_DEC(td) do { \
KASSERT(SCHEDULER_STOPPED_TD(td) || (td)->td_locks > 0, \
- ("thread %p owns no locks", (td))); \
+ ("Thread %p owns no locks", (td))); \
(td)->td_locks--; \
} while (0)
#else