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
This commit is contained in:
Christos Margiolis 2023-06-13 15:46:20 +03:00
parent cea7c564c7
commit 0fbe78cdba

View File

@ -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