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; }