diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/file/dup/dup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/file/dup/dup.c b/tools/regression/file/dup/dup.c index b87faa418524..ad1f6df4f078 100644 --- a/tools/regression/file/dup/dup.c +++ b/tools/regression/file/dup/dup.c @@ -114,7 +114,7 @@ main(int __unused argc, char __unused *argv[]) * fuckups take out each other and make the end-result the way * it was meant to be. */ - if ((fd2 = dup2(fd1, fd1)) < 0) + if ((fd2 = dup2(fd1, fd1)) < 0) err(1, "dup2"); printf("ok %d - dup2(2) to itself works\n", ++test); |