Fix minor spelling errors.

(Found by Lintian.)
This commit is contained in:
Guilhem Moulin
2021-07-30 02:56:38 +02:00
parent 3c68e3f5b1
commit 6a14f52e5d
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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 */