mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 19:03:48 +01:00
Use SYSCTL_OUT_STR() to return strings.
PR: 195668
This commit is contained in:
parent
c38c26f8da
commit
6ef6968de5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280010
@ -209,7 +209,7 @@ ieee80211_sysctl_parent(SYSCTL_HANDLER_ARGS)
|
||||
struct ieee80211com *ic = arg1;
|
||||
const char *name = ic->ic_ifp->if_xname;
|
||||
|
||||
return SYSCTL_OUT(req, name, strlen(name));
|
||||
return SYSCTL_OUT_STR(req, name);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user