diff options
author | Ian Lepore <ian@FreeBSD.org> | 2015-03-14 21:40:24 +0000 |
---|---|---|
committer | Ian Lepore <ian@FreeBSD.org> | 2015-03-14 21:40:24 +0000 |
commit | d711ee2c297a899432c33d163971e5134643e137 (patch) | |
tree | 6aaedbfe5f0c2b6b0e20f0ecd84390d93eb715a3 /sys/xen | |
parent | acfc962f82ae2a27618c2aa1f9babe9b4ecfcf93 (diff) | |
download | src-test2-d711ee2c297a899432c33d163971e5134643e137.tar.gz src-test2-d711ee2c297a899432c33d163971e5134643e137.zip |
Use SYSCTL_OUT_STR() to return strings.
PR: 195668
Notes
Notes:
svn path=/head/; revision=280007
Diffstat (limited to 'sys/xen')
-rw-r--r-- | sys/xen/xenbus/xenbusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/xen/xenbus/xenbusb.c b/sys/xen/xenbus/xenbusb.c index 1f84795e64fa..4853b3a211a1 100644 --- a/sys/xen/xenbus/xenbusb.c +++ b/sys/xen/xenbus/xenbusb.c @@ -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)); } /** |