From 12d8e18a4e0ea48e833992c76a197308be03cab7 Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 17 May 2024 23:53:17 +0000 Subject: [PATCH] how did that not segfault git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@15 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Client/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/main.c b/Client/main.c index d7d4594..af8d04c 100644 --- a/Client/main.c +++ b/Client/main.c @@ -59,7 +59,7 @@ int main(int argc, char** argv) { } else if(strcmp(argv[i], "--noclear") == 0) { noclear = true; } else { - fprintf(stderr, "%s: %s: invalid option\n", argv[i]); + fprintf(stderr, "%s: %s: invalid option\n", argv[0], argv[i]); return 1; } } -- 2.43.0