mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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 68c890b4433d3655c7df91cc43f89f4d6a8b35e4)
This commit is contained in:
parent
5fd1902b0c
commit
1b3f88bc80
1 changed files with 1 additions and 1 deletions
|
|
@ -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