summaryrefslogtreecommitdiffstats
path: root/tests/sys/kern/unix_seqpacket_test.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-01-04 07:02:48 +0000
committerngie <ngie@FreeBSD.org>2016-01-04 07:02:48 +0000
commit873e27fb072a63ca6d489b4900212ccbe9212d9f (patch)
treec30ad1190b4776075fcf5a421880aa42bcab899a /tests/sys/kern/unix_seqpacket_test.c
parent06d2b896fd30bd3ce4e5cfde69edc38b27e5562c (diff)
downloadFreeBSD-src-873e27fb072a63ca6d489b4900212ccbe9212d9f.zip
FreeBSD-src-873e27fb072a63ca6d489b4900212ccbe9212d9f.tar.gz
MFC r292816,r292818,r292819:
r292816: Place cancel and error under #ifdef DEBUG to mute -Wunused-but-set-variable warnings reported by gcc 4.9 Remove some trailing whitespace as well Tested with and without -DDEBUG r292818: Fix style(9) a bit and ensure that error from initializing kqueue(2) is sane - Push the kqueue(2) initialization down so the errno will correspond with the failure instead of potentially being stomped on by functions called by `PLAIN_REQUIRE_KERNEL_MODULE` - Delete trailing whitespace - Add spaces between braces for conditional and control blocks (for/if) - Use err/errx instead of perror+printf+exit/printf+exit. - Remove braces for single-line conditionals Tested with and without -DDEBUG r292819: - Fix an improperly sized buffer for `pathname` [1] - Fix a -Wunused-but-set-variable warning [2]
Diffstat (limited to 'tests/sys/kern/unix_seqpacket_test.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud