From 1bb5ddb11aed8b08fdb81c6bd299510cea0c7bfb Mon Sep 17 00:00:00 2001 From: Semir Sionek Date: Mon, 18 Aug 2025 13:07:11 +0000 Subject: [PATCH] hsa: fix typo in vcl_test_client arg check Type: fix Change-Id: Ifd0ef3dfcfc2cfd1bc13f2a1727c5f4a36d4a746 Signed-off-by: Semir Sionek --- src/plugins/hs_apps/vcl/vcl_test_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/hs_apps/vcl/vcl_test_client.c b/src/plugins/hs_apps/vcl/vcl_test_client.c index 8bac1f00b9d..a5ea90dc8a2 100644 --- a/src/plugins/hs_apps/vcl/vcl_test_client.c +++ b/src/plugins/hs_apps/vcl/vcl_test_client.c @@ -1227,7 +1227,7 @@ vtc_process_opts (vcl_test_client_main_t * vcm, int argc, char **argv) print_usage_and_exit (); } - if (argc > (optind + 2)) + if (argc < (optind + 2)) { vtwrn ("Invalid number of arguments!"); print_usage_and_exit (); -- 2.16.6