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
a6b2670f
Commit
a6b2670f
authored
Nov 26, 2008
by
dlezcano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove annoying compilation message
From: Daniel Lezcano <dlezcano@fr.ibm.com> Remove annoying compilation message Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
7c6c0227
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
cr_plugin_columbia.c
src/lxc/cr_plugin_columbia.c
+4
-6
No files found.
src/lxc/cr_plugin_columbia.c
View file @
a6b2670f
...
@@ -76,8 +76,7 @@ static inline long sys_restart(pid_t pid, int fd, unsigned long flags)
...
@@ -76,8 +76,7 @@ static inline long sys_restart(pid_t pid, int fd, unsigned long flags)
#endif
#endif
int
lxc_plugin_checkpoint
(
pid_t
pid
,
const
char
*
statefile
,
int
lxc_plugin_checkpoint
(
pid_t
pid
,
const
char
*
statefile
,
unsigned
long
flags
)
unsigned
long
flags
)
{
{
int
fd
,
ret
;
int
fd
,
ret
;
...
@@ -89,7 +88,7 @@ int lxc_plugin_checkpoint(pid_t pid, const char *statefile,
...
@@ -89,7 +88,7 @@ int lxc_plugin_checkpoint(pid_t pid, const char *statefile,
ret
=
sys_checkpoint
(
pid
,
fd
,
flags
);
ret
=
sys_checkpoint
(
pid
,
fd
,
flags
);
if
(
ret
<
0
)
{
if
(
ret
<
0
)
{
lxc_log_syserror
(
"failed to checkpoint %
z
d"
,
pid
);
lxc_log_syserror
(
"failed to checkpoint %d"
,
pid
);
goto
out_close
;
goto
out_close
;
}
}
...
@@ -100,8 +99,7 @@ out_close:
...
@@ -100,8 +99,7 @@ out_close:
return
ret
;
return
ret
;
}
}
int
lxc_plugin_restart
(
pid_t
pid
,
const
char
*
statefile
,
int
lxc_plugin_restart
(
pid_t
pid
,
const
char
*
statefile
,
unsigned
long
flags
)
unsigned
long
flags
)
{
{
int
fd
;
int
fd
;
...
@@ -112,7 +110,7 @@ int lxc_plugin_restart(pid_t pid, const char *statefile,
...
@@ -112,7 +110,7 @@ int lxc_plugin_restart(pid_t pid, const char *statefile,
}
}
sys_restart
(
pid
,
fd
,
flags
);
sys_restart
(
pid
,
fd
,
flags
);
lxc_log_syserror
(
"failed to restart %
z
d"
,
pid
);
lxc_log_syserror
(
"failed to restart %d"
,
pid
);
close
(
fd
);
close
(
fd
);
return
-
1
;
return
-
1
;
}
}
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