mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +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))
|
||||
*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;
|
||||
ret->version = 2;
|
||||
|
||||
@@ -1840,7 +1840,7 @@ static int _crypt_format_luks2(struct crypt_device *cd,
|
||||
|
||||
if (sector_size_autodetect) {
|
||||
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;
|
||||
} else if (MISALIGNED(dev_size - (uint64_t)required_alignment - (uint64_t)alignment_offset, sector_size)) {
|
||||
/* underflow does not affect misalignment checks */
|
||||
|
||||
Reference in New Issue
Block a user