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
5c9cc71f
Commit
5c9cc71f
authored
Aug 11, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log: Replace perror-s with pr_perror-s over code
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
f1b41e08
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cr-dump.c
cr-dump.c
+1
-1
cr-restore.c
cr-restore.c
+3
-3
No files found.
cr-dump.c
View file @
5c9cc71f
...
...
@@ -595,7 +595,7 @@ static int get_task_personality(pid_t pid, u32 *personality)
goto
err
;
if
(
!
fgets
(
loc_buf
,
sizeof
(
loc_buf
),
file
))
{
perror
(
"Can't read task personality"
);
p
r_p
error
(
"Can't read task personality"
);
goto
err
;
}
...
...
cr-restore.c
View file @
5c9cc71f
...
...
@@ -798,7 +798,7 @@ static int restore_root_task(struct pstree_item *init, struct cr_options *opts)
ret
=
sigaction
(
SIGCHLD
,
NULL
,
&
act
);
if
(
ret
<
0
)
{
perror
(
"sigaction() failed
\n
"
);
p
r_p
error
(
"sigaction() failed
\n
"
);
return
-
1
;
}
...
...
@@ -809,7 +809,7 @@ static int restore_root_task(struct pstree_item *init, struct cr_options *opts)
ret
=
sigaction
(
SIGCHLD
,
&
act
,
&
old_act
);
if
(
ret
<
0
)
{
perror
(
"sigaction() failed
\n
"
);
p
r_p
error
(
"sigaction() failed
\n
"
);
return
-
1
;
}
...
...
@@ -880,7 +880,7 @@ out:
ret
=
sigaction
(
SIGCHLD
,
&
old_act
,
NULL
);
if
(
ret
<
0
)
{
perror
(
"sigaction() failed
\n
"
);
p
r_p
error
(
"sigaction() failed
\n
"
);
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