projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0539d7
)
nspawn: fix error message when mknod fails
author
Tom Gundersen
<teg@jklm.no>
Tue, 6 Jan 2015 18:50:25 +0000
(19:50 +0100)
committer
Tom Gundersen
<teg@jklm.no>
Thu, 8 Jan 2015 16:09:45 +0000
(17:09 +0100)
src/nspawn/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index
89bbf2b
..
e5a24dd
100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-1291,7
+1291,7
@@
static int copy_devnodes(const char *dest) {
}
if (mknod(to, st.st_mode, st.st_rdev) < 0)
- return log_error_errno(errno, "mknod(%s) failed: %m",
dest
);
+ return log_error_errno(errno, "mknod(%s) failed: %m",
to
);
}
}