changing EINVAL from "has no associated size" to "has insufficient size"
authorderaadt <deraadt@openbsd.org>
Mon, 24 Jun 2024 14:39:28 +0000 (14:39 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 24 Jun 2024 14:39:28 +0000 (14:39 +0000)
commitf1d020899ca4cfb0cf22a5639626ef5e810f0680
treed44952a0f6f2f51ac007c0948bdccb9525a8de9b
parenta96be6992871e57ed676b51a9a1512da3ab5f68c
changing EINVAL from "has no associated size" to "has insufficient size"
does a better job of covering the case of partition not configured
(size = 0) or other too-small decision the kernel may make
lib/libc/sys/swapctl.2