Fix missing newline and terminator at the end of the vm.zone sysctl.

This commit is contained in:
Dag-Erling Smørgrav 2001-07-09 03:37:33 +00:00
parent 988d64c256
commit bf3009895e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79443

View File

@ -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);