mirror of
https://github.com/systemd/systemd.git
synced 2024-12-03 23:33:38 +08:00
namespace: fix propagated error number
This commit is contained in:
parent
8db5bc589a
commit
1ce268c789
@ -930,7 +930,7 @@ static int mount_private_dev(MountEntry *m) {
|
||||
|
||||
r = label_fix_container(dev, "/dev", 0);
|
||||
if (r < 0) {
|
||||
log_debug_errno(errno, "Failed to fix label of '%s' as /dev: %m", dev);
|
||||
log_debug_errno(r, "Failed to fix label of '%s' as /dev: %m", dev);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user