Fixed an issue that before C99 mode.

This commit is contained in:
fengbojiang 2023-08-14 20:21:29 +08:00
parent 5ada33e91a
commit 8471eecb32
1 changed files with 2 additions and 1 deletions

View File

@ -2370,7 +2370,8 @@ ff_adapter_init()
printf("\n");
DEBUG_LOG("rte_eal_init, argc:%ld/%ld=%ld\n", sizeof(dpdk_argv), sizeof(dpdk_argv[0]), sizeof(dpdk_argv)/sizeof(dpdk_argv[0]));
for (int i=0; i < sizeof(dpdk_argv)/sizeof(dpdk_argv[0]); i++) {
int i;
for (i = 0; i < sizeof(dpdk_argv)/sizeof(dpdk_argv[0]); i++) {
printf("%s ", dpdk_argv[i]);
}
printf("\n");