Fix missing newline and terminator at the end of the vm.zone sysctl.
This commit is contained in:
parent
988d64c256
commit
bf3009895e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79443
@ -451,8 +451,7 @@ sysctl_vm_zone(SYSCTL_HANDLER_ARGS)
|
||||
offset += len;
|
||||
}
|
||||
mtx_unlock(&zone_mtx);
|
||||
offset--;
|
||||
*offset = '\0';
|
||||
*offset++ = '\0';
|
||||
error = SYSCTL_OUT(req, tmpbuf, offset - tmpbuf);
|
||||
out:
|
||||
FREE(tmpbuf, M_TEMP);
|
||||
|
Loading…
Reference in New Issue
Block a user