hsa: fix typo in vcl_test_client arg check 88/43588/2
authorSemir Sionek <[email protected]>
Mon, 18 Aug 2025 13:07:11 +0000 (13:07 +0000)
committerFlorin Coras <[email protected]>
Mon, 18 Aug 2025 19:06:51 +0000 (19:06 +0000)
Type: fix
Change-Id: Ifd0ef3dfcfc2cfd1bc13f2a1727c5f4a36d4a746
Signed-off-by: Semir Sionek <[email protected]>
src/plugins/hs_apps/vcl/vcl_test_client.c

index 8bac1f0..a5ea90d 100644 (file)
@@ -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 ();