mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -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
This commit is contained in:
parent
92f2a4c820
commit
68c890b443
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