Fix several minor spelling errors found by Lintian

* lib/setup.c: miliseconds -> milliseconds
* lib/utils_wipe.c: Unsuported -> Unsupported
* man/crypsetup.8: implicitely -> implicitly
* man/veritysetup.8: verion -> version
* python/pycryptsetup.c: miliseconds -> milliseconds
This commit is contained in:
Jonas Meurer
2016-10-21 21:54:08 +02:00
parent 34734395c8
commit b2a6e338b5
5 changed files with 6 additions and 6 deletions

View File

@@ -2148,7 +2148,7 @@ int crypt_volume_key_verify(struct crypt_device *cd,
void crypt_set_iteration_time(struct crypt_device *cd, uint64_t iteration_time_ms) void crypt_set_iteration_time(struct crypt_device *cd, uint64_t iteration_time_ms)
{ {
log_dbg("Iteration time set to %" PRIu64 " miliseconds.", iteration_time_ms); log_dbg("Iteration time set to %" PRIu64 " milliseconds.", iteration_time_ms);
cd->iteration_time = iteration_time_ms; cd->iteration_time = iteration_time_ms;
} }

View File

@@ -131,7 +131,7 @@ int crypt_wipe(struct device *device,
ssize_t written; ssize_t written;
if (!size || size % SECTOR_SIZE || (size > MAXIMUM_WIPE_BYTES)) { if (!size || size % SECTOR_SIZE || (size > MAXIMUM_WIPE_BYTES)) {
log_dbg("Unsuported wipe size for device %s: %ld.", log_dbg("Unsupported wipe size for device %s: %ld.",
device_path(device), (unsigned long)size); device_path(device), (unsigned long)size);
return -EINVAL; return -EINVAL;
} }
@@ -186,7 +186,7 @@ int crypt_wipe(struct device *device,
written = _crypt_wipe_random(devfd, bsize, buffer, offset, size); written = _crypt_wipe_random(devfd, bsize, buffer, offset, size);
break; break;
default: default:
log_dbg("Unsuported wipe type requested: (%d)", type); log_dbg("Unsupported wipe type requested: (%d)", type);
written = -1; written = -1;
} }

View File

@@ -253,7 +253,7 @@ as positional argument or via \-\-key-file.
\fBWARNING:\fR If you read the passphrase from stdin \fBWARNING:\fR If you read the passphrase from stdin
(without further argument or with '-' as argument (without further argument or with '-' as argument
to \-\-key\-file), batch-mode (\-q) will be implicitely to \-\-key\-file), batch-mode (\-q) will be implicitly
switched on and no warning will be given when you remove the switched on and no warning will be given when you remove the
last remaining passphrase from a LUKS container. Removing last remaining passphrase from a LUKS container. Removing
the last passphrase makes the LUKS container permanently the last passphrase makes the LUKS container permanently

View File

@@ -83,7 +83,7 @@ Create or use dm-verity without permanent on-disk superblock.
.TP .TP
.B "\-\-format=number" .B "\-\-format=number"
Specifies the hash version type. Specifies the hash version type.
Format type 0 is original Chrome OS verion. Format type 1 is current version. Format type 0 is original Chrome OS version. Format type 1 is current version.
.TP .TP
.B "\-\-data-block-size=bytes" .B "\-\-data-block-size=bytes"
Used block size for the data device. Used block size for the data device.

View File

@@ -593,7 +593,7 @@ static char
CryptSetup_iterationTime_HELP[] = CryptSetup_iterationTime_HELP[] =
"Set iteration time\n\n\ "Set iteration time\n\n\
iterationTime(time_ms)\n\n\ iterationTime(time_ms)\n\n\
time_ms - time in miliseconds"; time_ms - time in milliseconds";
static PyObject *CryptSetup_iterationTime(CryptSetupObject* self, PyObject *args, PyObject *kwds) static PyObject *CryptSetup_iterationTime(CryptSetupObject* self, PyObject *args, PyObject *kwds)
{ {