Use SYSCTL_OUT_STR() to return strings.
PR: 195668
This commit is contained in:
parent
acfc962f82
commit
d711ee2c29
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280007
@ -330,7 +330,7 @@ xenbusb_device_sysctl_handler(SYSCTL_HANDLER_ARGS)
|
||||
default:
|
||||
return (EINVAL);
|
||||
}
|
||||
return (SYSCTL_OUT(req, value, strlen(value)));
|
||||
return (SYSCTL_OUT_STR(req, value));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user