From: nishi Date: Fri, 17 May 2024 23:53:17 +0000 (+0000) Subject: how did that not segfault X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=12d8e18a4e0ea48e833992c76a197308be03cab7;p=dataworks.git how did that not segfault git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@15 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- 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; } }