loop: make 'Failed to configure loopback device' log message clearer
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.
This commit is contained in:
@@ -284,7 +284,7 @@ static int loop_configure(
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user