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
@ -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 New Issue
Block a user