projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78fa403
)
net: dbg message
author
Robert Swiecki
<robert@swiecki.net>
Fri, 1 Jun 2018 01:14:48 +0000
(
03:14
+0200)
committer
Robert Swiecki
<robert@swiecki.net>
Fri, 1 Jun 2018 01:14:48 +0000
(
03:14
+0200)
net.cc
patch
|
blob
|
history
diff --git
a/net.cc
b/net.cc
index
5ee77fc
..
2969bb5
100644
(file)
--- a/
net.cc
+++ b/
net.cc
@@
-164,7
+164,7
@@
static bool moveToNs(const std::string& iface, pid_t pid) {
const std::vector<std::string> argv{
"/sbin/ip", "link", "set", iface, "netns", std::to_string(pid)};
if (subproc::systemExe(argv, environ) != 0) {
- LOG_E("Couldn't
create
put interface '%s' into NET ns of the PID=%d", iface.c_str(),
+ LOG_E("Couldn't put interface '%s' into NET ns of the PID=%d", iface.c_str(),
(int)pid);
return false;
}