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
86a78f17
Unverified
Commit
86a78f17
authored
Jul 03, 2017
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commands: add missing translation
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
bbf5cf35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
commands.c
src/lxc/commands.c
+2
-0
No files found.
src/lxc/commands.c
View file @
86a78f17
...
@@ -80,6 +80,7 @@ static const char *lxc_cmd_str(lxc_cmd_t cmd)
...
@@ -80,6 +80,7 @@ static const char *lxc_cmd_str(lxc_cmd_t cmd)
{
{
static
const
char
*
const
cmdname
[
LXC_CMD_MAX
]
=
{
static
const
char
*
const
cmdname
[
LXC_CMD_MAX
]
=
{
[
LXC_CMD_CONSOLE
]
=
"console"
,
[
LXC_CMD_CONSOLE
]
=
"console"
,
[
LXC_CMD_CONSOLE_WINCH
]
=
"console_winch"
,
[
LXC_CMD_STOP
]
=
"stop"
,
[
LXC_CMD_STOP
]
=
"stop"
,
[
LXC_CMD_GET_STATE
]
=
"get_state"
,
[
LXC_CMD_GET_STATE
]
=
"get_state"
,
[
LXC_CMD_GET_INIT_PID
]
=
"get_init_pid"
,
[
LXC_CMD_GET_INIT_PID
]
=
"get_init_pid"
,
...
@@ -124,6 +125,7 @@ static int lxc_cmd_rsp_recv(int sock, struct lxc_cmd_rr *cmd)
...
@@ -124,6 +125,7 @@ static int lxc_cmd_rsp_recv(int sock, struct lxc_cmd_rr *cmd)
lxc_cmd_str
(
cmd
->
req
.
cmd
),
strerror
(
errno
));
lxc_cmd_str
(
cmd
->
req
.
cmd
),
strerror
(
errno
));
return
-
1
;
return
-
1
;
}
}
TRACE
(
"Command
\"
%s received response"
,
lxc_cmd_str
(
cmd
->
req
.
cmd
));
if
(
cmd
->
req
.
cmd
==
LXC_CMD_CONSOLE
)
{
if
(
cmd
->
req
.
cmd
==
LXC_CMD_CONSOLE
)
{
struct
lxc_cmd_console_rsp_data
*
rspdata
;
struct
lxc_cmd_console_rsp_data
*
rspdata
;
...
...
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