We print the very same log message for loopback block devices and for
loopback network devices. Let's better be clear what kind it is.
if (ioctl(fd, LOOP_SET_STATUS64, &info_copy) >= 0)
break;
if (errno != EAGAIN || ++n_attempts >= 64) {
- r = log_debug_errno(errno, "Failed to configure loopback device: %m");
+ r = log_debug_errno(errno, "Failed to configure loopback block device: %m");
goto fail;
}
if (state_up.rcode == -EPERM && check_loopback(rtnl))
return 0;
- return log_warning_errno(state_up.rcode, "Failed to configure loopback device: %m");
+ return log_warning_errno(state_up.rcode, "Failed to configure loopback network device: %m");
}
return 0;