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
23d619a5
Commit
23d619a5
authored
Jul 27, 2018
by
Andrei Vagin
Committed by
Andrei Vagin
Oct 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
criu: add a few missing newlines in pr_err()
Signed-off-by:
Andrei Vagin
<
avagin@virtuozzo.com
>
parent
b939a4df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
net.c
criu/net.c
+2
-2
sk-unix.c
criu/sk-unix.c
+1
-1
No files found.
criu/net.c
View file @
23d619a5
...
...
@@ -1233,7 +1233,7 @@ static int veth_peer_info(struct net_link *link, struct newlink_req *req,
return
0
;
}
out:
pr_err
(
"Unknown peer net namespace"
);
pr_err
(
"Unknown peer net namespace
\n
"
);
return
-
1
;
}
...
...
@@ -1703,7 +1703,7 @@ static int restore_links()
if
(
nrcreated
==
nrlinks
)
break
;
if
(
nrcreated
==
0
)
{
pr_err
(
"Unable to restore network links"
);
pr_err
(
"Unable to restore network links
\n
"
);
return
-
1
;
}
}
...
...
criu/sk-unix.c
View file @
23d619a5
...
...
@@ -302,7 +302,7 @@ static int resolve_rel_name(uint32_t id, struct unix_sk_desc *sk, const struct f
dir
[
ret
]
=
0
;
if
(
snprintf
(
path
,
sizeof
(
path
),
".%s/%s"
,
dir
,
sk
->
name
)
>=
sizeof
(
path
))
{
pr_err
(
"The path .%s/%s is too long"
,
dir
,
sk
->
name
);
pr_err
(
"The path .%s/%s is too long
\n
"
,
dir
,
sk
->
name
);
goto
err
;
}
if
(
fstatat
(
mntns_root
,
path
,
&
st
,
0
))
{
...
...
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