Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
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
zhul
criu
Commits
9792a860
Commit
9792a860
authored
Jan 13, 2012
by
Cyrill Gorcunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dump: Fix arguments types in printing
Signed-off-by:
Cyrill Gorcunov
<
gorcunov@openvz.org
>
parent
08569cbc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cr-dump.c
cr-dump.c
+2
-2
sockets.c
sockets.c
+1
-1
No files found.
cr-dump.c
View file @
9792a860
...
...
@@ -255,11 +255,11 @@ static int dump_one_fd(pid_t pid, int pid_fd_dir, int lfd,
int
err
=
-
1
;
if
(
lfd
<
0
)
{
err
=
try_dump_socket
(
pid
_fd_dir
,
p
->
fd_name
,
cr_fdset
);
err
=
try_dump_socket
(
pid
,
p
->
fd_name
,
cr_fdset
);
if
(
err
!=
1
)
return
err
;
pr_perror
(
"Failed to open %
s
/%d
\n
"
,
pid_fd_dir
,
p
->
fd_name
);
pr_perror
(
"Failed to open %
d
/%d
\n
"
,
pid_fd_dir
,
p
->
fd_name
);
return
-
1
;
}
...
...
sockets.c
View file @
9792a860
...
...
@@ -165,7 +165,7 @@ static int dump_one_unix(struct socket_desc *_sk, int fd, struct cr_fdset *cr_fd
write_ptr_safe
(
cr_fdset
->
fds
[
CR_FD_UNIXSK
],
&
ue
,
err
);
write_safe
(
cr_fdset
->
fds
[
CR_FD_UNIXSK
],
sk
->
name
,
ue
.
namelen
,
err
);
pr_info
(
"Dumping unix socket at %
s
\n
"
,
fd
);
pr_info
(
"Dumping unix socket at %
d
\n
"
,
fd
);
show_one_unix
(
"Dumping"
,
sk
);
show_one_unix_img
(
"Dumped"
,
&
ue
);
...
...
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