]> Zhao Yanbai Git Server - minix.git/commit
libc: fix sysctl(3) error code 35/3035/1
authorDavid van Moolenbroek <david@minix3.org>
Fri, 24 Jul 2015 17:16:29 +0000 (17:16 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Fri, 24 Jul 2015 23:12:36 +0000 (23:12 +0000)
commit0184c635355385ecfd2c2f0b8233e074dea593e3
tree8f4499582e502d2987d6099f58be57b96976765a
parentc97d4ff6e59be4817f51535be134eeec881d0e1c
libc: fix sysctl(3) error code

All unimplemented sysctl calls would return 2 instead of -1.

Change-Id: Ib486a03dc93969e646e4e11d890dc46855d790c4
lib/libc/gen/sysctl.c