(main): Test sysctl(...) >= 0, not == 0, since
authorJim Meyering <jim@meyering.net>
Thu, 18 Jul 2002 18:35:42 +0000 (18:35 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 18 Jul 2002 18:35:42 +0000 (18:35 +0000)
commita19f9253c46f191ce41858f8c6a37bbb02f8ba87
tree8caabf9637a872f2de5382d522c34778776fca1b
parent510f7bfe8790b75cc84742626e4a171e3727bf1f
(main): Test sysctl(...) >= 0, not == 0, since
on NetBSD the return value may well be positive.
Use one-line aggregate initializations.
Use tightly scoped static buffers to avoid warnings about
unused variables on some systems.
src/uname.c