diff options
Diffstat (limited to 'src/fs/gnunet-helper-fs-publish.c')
-rw-r--r-- | src/fs/gnunet-helper-fs-publish.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/fs/gnunet-helper-fs-publish.c index 55836e772..72a656de1 100644 --- a/src/fs/gnunet-helper-fs-publish.c +++ b/src/fs/gnunet-helper-fs-publish.c | |||
@@ -480,7 +480,7 @@ make_dev_zero (int fd, | |||
480 | GNUNET_assert (-1 != z); | 480 | GNUNET_assert (-1 != z); |
481 | if (z == fd) | 481 | if (z == fd) |
482 | return; | 482 | return; |
483 | dup2 (z, fd); | 483 | GNUNET_break (fd == dup2 (z, fd)); |
484 | GNUNET_assert (0 == close (z)); | 484 | GNUNET_assert (0 == close (z)); |
485 | } | 485 | } |
486 | 486 | ||