mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 19:30:04 +01:00
Fix error message in previous commit.
This commit is contained in:
@@ -529,7 +529,7 @@ void device_topology_alignment(struct crypt_device *cd,
|
|||||||
!((unsigned long)opt_io_size % temp_alignment) && !MISALIGNED_4K(opt_io_size))
|
!((unsigned long)opt_io_size % temp_alignment) && !MISALIGNED_4K(opt_io_size))
|
||||||
temp_alignment = (unsigned long)opt_io_size;
|
temp_alignment = (unsigned long)opt_io_size;
|
||||||
else if (opt_io_size)
|
else if (opt_io_size)
|
||||||
log_err(cd, "Ignoring bogus optimal-io size for data device (%u bytes).", opt_io_size);
|
log_err(cd, _("Ignoring bogus optimal-io size for data device (%u bytes)."), opt_io_size);
|
||||||
|
|
||||||
/* If calculated alignment is multiple of default, keep default */
|
/* If calculated alignment is multiple of default, keep default */
|
||||||
if (temp_alignment && (default_alignment % temp_alignment))
|
if (temp_alignment && (default_alignment % temp_alignment))
|
||||||
|
|||||||
Reference in New Issue
Block a user