The branch main has been updated by sjg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8334d46162e46f400b04b93d79e310153380d643

commit 8334d46162e46f400b04b93d79e310153380d643
Author:     Simon J. Gerraty <[email protected]>
AuthorDate: 2026-05-05 20:14:36 +0000
Commit:     Simon J. Gerraty <[email protected]>
CommitDate: 2026-05-05 20:14:36 +0000

    Fix typo in curthread
---
 sys/kern/sys_process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index 3a94f1c0ff20..487dc5d06614 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -74,7 +74,7 @@
 
 #define PROC_PRIV_CHECK(priv) do {                             \
                int _error;                                     \
-               _error = priv_check(currthread, priv);  \
+               _error = priv_check(curthread, priv);   \
                if (_error)                                     \
                        return (_error);                        \
        } while (0)

Reply via email to