Author: ngie Date: Tue Apr 26 19:21:35 2016 New Revision: 298660 URL: https://svnweb.freebsd.org/changeset/base/298660
Log: Fix up r298368 Remove the semicolon accidentally added after the new conditional that tests that /dev/zero is opened successfully. MFC after: 1 week X-MFC with: r298368 Pointhat to: ngie Reported by: Coverity CID: 1354980 Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/ssp/h_read.c Modified: head/contrib/netbsd-tests/lib/libc/ssp/h_read.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/ssp/h_read.c Tue Apr 26 19:06:28 2016 (r298659) +++ head/contrib/netbsd-tests/lib/libc/ssp/h_read.c Tue Apr 26 19:21:35 2016 (r298660) @@ -47,7 +47,7 @@ main(int argc, char *argv[]) int fd, n; size_t len = atoi(argv[1]); - if ((fd = open(_PATH_DEVZERO, O_RDONLY)) == -1); + if ((fd = open(_PATH_DEVZERO, O_RDONLY)) == -1) abort(); if ((n = read(fd, b, len)) == -1) abort(); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"