diff options
author | Tom Gundersen <teg@jklm.no> | 2015-01-06 19:50:25 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-01-08 17:09:45 +0100 |
commit | 080e78329a742dd95bdee321fee81c305e073491 (patch) | |
tree | 468ad994256e371b92f9d5fdeeaa952ee4972189 /src/nspawn | |
parent | a0539d7753d6a3ede87bf5e57d7c40d5bc1dc230 (diff) |
nspawn: fix error message when mknod fails
Diffstat (limited to 'src/nspawn')
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 89bbf2b82c..e5a24dda70 100644 --- 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); } } |