Fix missing newline and terminator at the end of the vm.zone sysctl.
This commit is contained in:
parent
2f52ad74cd
commit
17faec39c6
@ -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…
x
Reference in New Issue
Block a user