diff options
author | Mattias Andrée <maandree@kth.se> | 2020-09-04 22:00:33 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-09-04 22:00:33 +0200 |
commit | 4faecce5403498382150b82da854f2d1249df767 (patch) | |
tree | 6de7a261386ccfbe761ff77158a5cdef27b687f7 | |
parent | Add leap second support (diff) | |
download | mongoclock-4faecce5403498382150b82da854f2d1249df767.tar.gz mongoclock-4faecce5403498382150b82da854f2d1249df767.tar.bz2 mongoclock-4faecce5403498382150b82da854f2d1249df767.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | mongoclock.c | 2 |
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) |