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
44a0fe49
Commit
44a0fe49
authored
Feb 04, 2014
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proc-parse: Fix 32-bit compilation
Broken by
bbab13eb
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
d29238db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
proc_parse.c
proc_parse.c
+3
-3
No files found.
proc_parse.c
View file @
44a0fe49
...
...
@@ -172,7 +172,7 @@ static int vma_get_mapfile(struct vma_area *vma, DIR *mfd,
if
(
prev_vfi
->
vma
&&
vfi_equal
(
vfi
,
prev_vfi
))
{
struct
vma_area
*
prev
=
prev_vfi
->
vma
;
pr_debug
(
"vma %
lx borrows vfi from previous %lx
\n
"
,
pr_debug
(
"vma %
"
PRIx64
" borrows vfi from previous %"
PRIx64
"
\n
"
,
vma
->
e
->
start
,
prev
->
e
->
start
);
vma
->
vm_file_fd
=
prev
->
vm_file_fd
;
if
(
prev
->
e
->
status
&
VMA_AREA_SOCKET
)
...
...
@@ -183,7 +183,7 @@ static int vma_get_mapfile(struct vma_area *vma, DIR *mfd,
}
/* Figure out if it's file mapping */
snprintf
(
path
,
sizeof
(
path
),
"%
lx-%lx"
,
vma
->
e
->
start
,
vma
->
e
->
end
);
snprintf
(
path
,
sizeof
(
path
),
"%
"
PRIx64
"-%"
PRIx64
,
vma
->
e
->
start
,
vma
->
e
->
end
);
/*
* Note that we "open" it in dumper process space
...
...
@@ -201,7 +201,7 @@ static int vma_get_mapfile(struct vma_area *vma, DIR *mfd,
if
(
!
S_ISSOCK
(
buf
.
st_mode
))
return
-
1
;
pr_info
(
"Found socket %"
PRIu64
" mapping @%
lx
\n
"
,
pr_info
(
"Found socket %"
PRIu64
" mapping @%
"
PRIx64
"
\n
"
,
buf
.
st_ino
,
vma
->
e
->
start
);
vma
->
e
->
status
|=
VMA_AREA_SOCKET
|
VMA_AREA_REGULAR
;
vma
->
vm_socket_id
=
buf
.
st_ino
;
...
...
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