summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authordbj <dbj@NetBSD.org>2004-07-30 23:42:29 +0000
committerdbj <dbj@NetBSD.org>2004-07-30 23:42:29 +0000
commit3aca86e05b32d91304229bc76d4dc8e9f871b04d (patch)
tree7b2d585d2d4bbe13ee6f74ebfad522052ccc6061 /sys/dev
parente6e2e32ac1622268da06f7173c794a9f315efa1f (diff)
check sysctl error return on both calls.
this prevents sysctl from coredumping if the second call fails while the first succeeds. This isn't supposed to happen, but there is another bug in the i386 kernel implementation of sysctl machdep.diskinfo that excites this
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions