Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
72e8122b
Commit
72e8122b
authored
Jun 09, 2020
by
Thomas Parrott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: Fix int type in log message
Signed-off-by:
Thomas Parrott
<
thomas.parrott@canonical.com
>
parent
d2f8b272
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
network.c
src/lxc/network.c
+1
-2
No files found.
src/lxc/network.c
View file @
72e8122b
...
@@ -445,12 +445,11 @@ static int lxc_ovs_setup_bridge_vlan_exec(void *data)
...
@@ -445,12 +445,11 @@ static int lxc_ovs_setup_bridge_vlan_exec(void *data)
rc
=
snprintf
(
buf
,
sizeof
(
buf
),
"%u"
,
args
->
vlan_id
);
rc
=
snprintf
(
buf
,
sizeof
(
buf
),
"%u"
,
args
->
vlan_id
);
if
(
rc
<
0
||
(
size_t
)
rc
>=
sizeof
(
buf
))
if
(
rc
<
0
||
(
size_t
)
rc
>=
sizeof
(
buf
))
return
log_error_errno
(
-
1
,
EINVAL
,
"Failed to parse ovs bridge vlan
\"
%
u
\"
"
,
args
->
vlan_id
);
return
log_error_errno
(
-
1
,
EINVAL
,
"Failed to parse ovs bridge vlan
\"
%
d
\"
"
,
args
->
vlan_id
);
tag
=
must_concat
(
NULL
,
"tag="
,
buf
,
(
char
*
)
NULL
);
tag
=
must_concat
(
NULL
,
"tag="
,
buf
,
(
char
*
)
NULL
);
}
}
if
(
args
->
trunks
)
if
(
args
->
trunks
)
trunks
=
must_concat
(
NULL
,
"trunks="
,
args
->
trunks
,
(
char
*
)
NULL
);
trunks
=
must_concat
(
NULL
,
"trunks="
,
args
->
trunks
,
(
char
*
)
NULL
);
...
...
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