mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00: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 a new issue