mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 23:38:39 +00:00
nspawn: fix error message when mknod fails
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user