The branch main has been updated by brooks:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=406fffde9c45a3302fdb5f971f30b62cabc4801e

commit 406fffde9c45a3302fdb5f971f30b62cabc4801e
Author:     Brooks Davis <bro...@freebsd.org>
AuthorDate: 2025-08-01 14:14:12 +0000
Commit:     Brooks Davis <bro...@freebsd.org>
CommitDate: 2025-08-01 14:54:12 +0000

    syscalls: make __sysctl's first argument const
    
    This matches the sysctl(3) prototype.
    
    Reviewed by:    kib
    Differential Revision:  https://reviews.freebsd.org/D51669
---
 sys/kern/syscalls.master | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 90559fab6086..a8815afee866 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1223,7 +1223,7 @@
        }
 202    AUE_SYSCTL      STD|CAPENABLED {
                int __sysctl(
-                   _In_reads_(namelen) int *name,
+                   _In_reads_(namelen) const int *name,
                    u_int namelen,
                    _Out_writes_bytes_opt_(*oldlenp) void *old,
                    _Inout_opt_ size_t *oldlenp,

Reply via email to