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:
Enji Cooper 2016-04-26 19:21:35 +00:00
parent 2cb2bed294
commit 605e9d2105

View File

@ -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();