aboutsummaryrefslogtreecommitdiffstats
path: root/src/mongoclock.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mongoclock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongoclock.c b/src/mongoclock.c
index 9d822e5..3170c95 100644
--- a/src/mongoclock.c
+++ b/src/mongoclock.c
@@ -294,7 +294,7 @@ int main(int argc, char* argv[])
fprintf(stdout, "\033[?25h\n\033[?1049l");
fflush(stdout);
- TEMP_FAILURE_RETRY(close(fd));
+ close(fd);
return 0;
fail:
@@ -302,7 +302,7 @@ int main(int argc, char* argv[])
fprintf(stdout, "\033[?25h\n\033[?1049l");
fflush(stdout);
if (fd >= 0)
- TEMP_FAILURE_RETRY(close(fd));
+ close(fd);
return 1;
(void) argc;
}