aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-09-04 22:00:33 +0200
committerMattias Andrée <maandree@kth.se>2020-09-04 22:00:33 +0200
commit4faecce5403498382150b82da854f2d1249df767 (patch)
tree6de7a261386ccfbe761ff77158a5cdef27b687f7
parentAdd leap second support (diff)
downloadmongotimer-4faecce5403498382150b82da854f2d1249df767.tar.gz
mongotimer-4faecce5403498382150b82da854f2d1249df767.tar.bz2
mongotimer-4faecce5403498382150b82da854f2d1249df767.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--mongoclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mongoclock.c b/mongoclock.c
index 442a380..769e9d9 100644
--- a/mongoclock.c
+++ b/mongoclock.c
@@ -205,7 +205,7 @@ main(int argc, char *argv[])
return 0;
fail:
- perror(argc ? *argv : "mongoclock");
+ perror(argv0 ? argv0 : "mongoclock");
fprintf(stdout, "\033[?25h\n\033[?1049l");
fflush(stdout);
if (fd >= 0)