From 4faecce5403498382150b82da854f2d1249df767 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 4 Sep 2020 22:00:33 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- mongoclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mongoclock.c') 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) -- cgit v1.2.3-70-g09d2