Commit c98339e1 authored by Cedric Roux's avatar Cedric Roux

integration fix: remove compilation warnings

parent 2237b431
...@@ -297,7 +297,7 @@ int ethernet_tune(openair0_device *device, unsigned int option, int value) { ...@@ -297,7 +297,7 @@ int ethernet_tune(openair0_device *device, unsigned int option, int value) {
if (ret == -1) { if (ret == -1) {
fprintf (stderr,"[ETHERNET] Can't start shell to execute %s %s",system_cmd, strerror(errno)); fprintf (stderr,"[ETHERNET] Can't start shell to execute %s %s",system_cmd, strerror(errno));
} else { } else {
printf ("[ETHERNET] status of %s is %i\n",WEXITSTATUS(ret)); printf ("[ETHERNET] status of %s is %d\n", system_cmd, WEXITSTATUS(ret));
} }
printf("[ETHERNET] Coalesce parameters %s\n",system_cmd); printf("[ETHERNET] Coalesce parameters %s\n",system_cmd);
} else { } else {
...@@ -314,7 +314,7 @@ int ethernet_tune(openair0_device *device, unsigned int option, int value) { ...@@ -314,7 +314,7 @@ int ethernet_tune(openair0_device *device, unsigned int option, int value) {
if (ret == -1) { if (ret == -1) {
fprintf (stderr,"[ETHERNET] Can't start shell to execute %s %s",system_cmd, strerror(errno)); fprintf (stderr,"[ETHERNET] Can't start shell to execute %s %s",system_cmd, strerror(errno));
} else { } else {
printf ("[ETHERNET] status of %s is %i\n",WEXITSTATUS(ret)); printf ("[ETHERNET] status of %s is %d\n", system_cmd, WEXITSTATUS(ret));
} }
printf("[ETHERNET] Pause parameters %s\n",system_cmd); printf("[ETHERNET] Pause parameters %s\n",system_cmd);
} else { } else {
...@@ -329,7 +329,7 @@ int ethernet_tune(openair0_device *device, unsigned int option, int value) { ...@@ -329,7 +329,7 @@ int ethernet_tune(openair0_device *device, unsigned int option, int value) {
if (ret == -1) { if (ret == -1) {
fprintf (stderr,"[ETHERNET] Can't start shell to execute %s %s",system_cmd, strerror(errno)); fprintf (stderr,"[ETHERNET] Can't start shell to execute %s %s",system_cmd, strerror(errno));
} else { } else {
printf ("[ETHERNET] status of %s is %i\n",WEXITSTATUS(ret)); printf ("[ETHERNET] status of %s is %d\n", system_cmd, WEXITSTATUS(ret));
} }
printf("[ETHERNET] Ring parameters %s\n",system_cmd); printf("[ETHERNET] Ring parameters %s\n",system_cmd);
} else { } else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment