Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangwenhui
OpenXG-RAN
Commits
c98339e1
Commit
c98339e1
authored
May 22, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
integration fix: remove compilation warnings
parent
2237b431
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
+3
-3
No files found.
targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
View file @
c98339e1
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment