diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2013-03-07 08:54:54 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2013-03-07 08:54:54 +0000 |
commit | 643af94b7afc643d06d26b0841c0d4d7fcc8591d (patch) | |
tree | c2ea9c25f1ceecf09f59efc8dd3670f68a47fb0e /sys/netinet6/in6_cksum.c | |
parent | 1f76887d6028fbd1d6b40e0dec5a4565645c0f1e (diff) |
Remove a couple duplicates entries that snuck in.
Per POSIX, if confstr() returns zero without setting errno ("no
defined value") then print "undefined\n".
Don't include a pointless number in the error messasge if confstr() fails.
Above pointed out by Andres Perera (andres.p (at) zoho.com)
Orgranize the CONFSTR code like the SYSCONF and PATHCONF cases.
Don't test for confstr() returning (size_t)-1, as that's not special.
Delete lint comments and unnecessary casts.
Diffstat (limited to 'sys/netinet6/in6_cksum.c')
0 files changed, 0 insertions, 0 deletions