Style
Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
6f646494e1
commit
51a7be5f60
@ -891,7 +891,7 @@ debug_vm_lowmem(SYSCTL_HANDLER_ARGS)
|
||||
|
||||
i = 0;
|
||||
error = sysctl_handle_int(oidp, &i, 0, req);
|
||||
if (error)
|
||||
if (error != 0)
|
||||
return (error);
|
||||
if ((i & ~(VM_LOW_KMEM | VM_LOW_PAGES)) != 0)
|
||||
return (EINVAL);
|
||||
@ -900,5 +900,6 @@ debug_vm_lowmem(SYSCTL_HANDLER_ARGS)
|
||||
return (0);
|
||||
}
|
||||
|
||||
SYSCTL_PROC(_debug, OID_AUTO, vm_lowmem, CTLTYPE_INT | CTLFLAG_MPSAFE | CTLFLAG_RW, 0, 0,
|
||||
debug_vm_lowmem, "I", "set to trigger vm_lowmem event with given flags");
|
||||
SYSCTL_PROC(_debug, OID_AUTO, vm_lowmem,
|
||||
CTLTYPE_INT | CTLFLAG_MPSAFE | CTLFLAG_RW, 0, 0, debug_vm_lowmem, "I",
|
||||
"set to trigger vm_lowmem event with given flags");
|
||||
|
Loading…
Reference in New Issue
Block a user