]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
confstr() returns (size_t)-1 on failure. Check for this explicitly instead
authorTim J. Robbins <tjr@FreeBSD.org>
Tue, 4 Jun 2002 08:45:38 +0000 (08:45 +0000)
committerTim J. Robbins <tjr@FreeBSD.org>
Tue, 4 Jun 2002 08:45:38 +0000 (08:45 +0000)
commit91b14bffacc9c59a0e0684875a9cee1f91194403
treef5c5a8cdcc6efd7a377edafa0ec60c52d0c71e57
parent6aab7a863fe33479997c35428c5a02f957edc10d
confstr() returns (size_t)-1 on failure. Check for this explicitly instead
of trying to see if an unsigned number is less than zero.
usr.bin/getconf/getconf.c