Use SYSCTL_OUT_STR() to return strings.

PR:		195668
This commit is contained in:
Ian Lepore 2015-03-14 21:40:24 +00:00
parent acfc962f82
commit d711ee2c29
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280007

View File

@ -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));
}
/**