From ecc84158b734880469ab5e7177fc2a68b67c8a91 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Mon, 4 Nov 2024 08:40:51 +0100 Subject: [PATCH] [client,common] include binary name in client buildconfig --- client/common/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/common/client.c b/client/common/client.c index 3d0b5ddf8..cc2d39d37 100644 --- a/client/common/client.c +++ b/client/common/client.c @@ -315,7 +315,8 @@ int freerdp_client_settings_parse_command_line_ex( if (!freerdp_client_settings_post_process(settings)) status = -1; - WLog_DBG(TAG, "This is %s %s", freerdp_get_version_string(), freerdp_get_build_config()); + const char* name = (argc > 0) ? argv[0] : "argc < 1"; + WLog_DBG(TAG, "This is [%s] %s %s", name, freerdp_get_version_string(), freerdp_get_build_config()); return status; }