mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-02 22:54:52 +00:00
linux(4): Add const qualifier to the value parameter of function handle_string()
The content that `value` point to is not going to be altered by function
handle_string().
MFC after: 1 week
(cherry picked from commit 68c890b443
)
This commit is contained in:
parent
5fd1902b0c
commit
1b3f88bc80
|
@ -74,7 +74,7 @@ LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, unsupported_sysctl, "char *");
|
|||
|
||||
#ifdef LINUX_LEGACY_SYSCALLS
|
||||
static int
|
||||
handle_string(struct l___sysctl_args *la, char *value)
|
||||
handle_string(struct l___sysctl_args *la, const char *value)
|
||||
{
|
||||
int error;
|
||||
|
||||
|
|
Loading…
Reference in a new issue