mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-06 08:20:07 +01:00
Fix minor spelling errors.
(Found by Lintian.)
This commit is contained in:
@@ -182,7 +182,7 @@ crypt_token_load_external(struct crypt_device *cd, const char *name, struct cryp
|
|||||||
if (r < 0 || (size_t)r >= sizeof(buf))
|
if (r < 0 || (size_t)r >= sizeof(buf))
|
||||||
*buf = '\0';
|
*buf = '\0';
|
||||||
|
|
||||||
log_dbg(cd, "Token handler %s-%s loaded sucessfuly.", token->name, buf);
|
log_dbg(cd, "Token handler %s-%s loaded successfully.", token->name, buf);
|
||||||
|
|
||||||
token->dlhandle = h;
|
token->dlhandle = h;
|
||||||
ret->version = 2;
|
ret->version = 2;
|
||||||
|
|||||||
@@ -1840,7 +1840,7 @@ static int _crypt_format_luks2(struct crypt_device *cd,
|
|||||||
|
|
||||||
if (sector_size_autodetect) {
|
if (sector_size_autodetect) {
|
||||||
if (cd->data_offset && MISALIGNED(cd->data_offset, sector_size)) {
|
if (cd->data_offset && MISALIGNED(cd->data_offset, sector_size)) {
|
||||||
log_dbg(cd, "Data offset not alligned to sector size. Reverting to 512 bytes.");
|
log_dbg(cd, "Data offset not aligned to sector size. Reverting to 512 bytes.");
|
||||||
sector_size = SECTOR_SIZE;
|
sector_size = SECTOR_SIZE;
|
||||||
} else if (MISALIGNED(dev_size - (uint64_t)required_alignment - (uint64_t)alignment_offset, sector_size)) {
|
} else if (MISALIGNED(dev_size - (uint64_t)required_alignment - (uint64_t)alignment_offset, sector_size)) {
|
||||||
/* underflow does not affect misalignment checks */
|
/* underflow does not affect misalignment checks */
|
||||||
|
|||||||
Reference in New Issue
Block a user