mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
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
This commit is contained in:
parent
2cb2bed294
commit
605e9d2105
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298660
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue