namespace: fix propagated error number

This commit is contained in:
Lennart Poettering 2022-07-07 23:20:31 +02:00
parent 8db5bc589a
commit 1ce268c789

View File

@ -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;
}