From 337b20a4ed818b8eeab4bce4516232c76a8fdfe3 Mon Sep 17 00:00:00 2001 From: Jonas Meurer Date: Fri, 21 Oct 2016 21:54:08 +0200 Subject: [PATCH] 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 --- lib/setup.c | 2 +- lib/utils_wipe.c | 4 ++-- man/cryptsetup.8 | 2 +- man/veritysetup.8 | 2 +- python/pycryptsetup.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/setup.c b/lib/setup.c index d20417e0..4b303601 100644 --- a/lib/setup.c +++ b/lib/setup.c @@ -2366,7 +2366,7 @@ void crypt_set_password_retry(struct crypt_device *cd, int tries) 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; } void crypt_set_iterarion_time(struct crypt_device *cd, uint64_t iteration_time_ms) diff --git a/lib/utils_wipe.c b/lib/utils_wipe.c index 2b47bca0..09939f00 100644 --- a/lib/utils_wipe.c +++ b/lib/utils_wipe.c @@ -131,7 +131,7 @@ int crypt_wipe(struct device *device, ssize_t written; 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); return -EINVAL; } @@ -186,7 +186,7 @@ int crypt_wipe(struct device *device, written = _crypt_wipe_random(devfd, bsize, buffer, offset, size); break; default: - log_dbg("Unsuported wipe type requested: (%d)", type); + log_dbg("Unsupported wipe type requested: (%d)", type); written = -1; } diff --git a/man/cryptsetup.8 b/man/cryptsetup.8 index 804153a1..badae628 100644 --- a/man/cryptsetup.8 +++ b/man/cryptsetup.8 @@ -253,7 +253,7 @@ as positional argument or via \-\-key-file. \fBWARNING:\fR If you read the passphrase from stdin (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 last remaining passphrase from a LUKS container. Removing the last passphrase makes the LUKS container permanently diff --git a/man/veritysetup.8 b/man/veritysetup.8 index 4c5168ba..1fa026a3 100644 --- a/man/veritysetup.8 +++ b/man/veritysetup.8 @@ -83,7 +83,7 @@ Create or use dm-verity without permanent on-disk superblock. .TP .B "\-\-format=number" 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 .B "\-\-data-block-size=bytes" Used block size for the data device. diff --git a/python/pycryptsetup.c b/python/pycryptsetup.c index 6dcda094..d68d70be 100644 --- a/python/pycryptsetup.c +++ b/python/pycryptsetup.c @@ -640,7 +640,7 @@ static char CryptSetup_iterationTime_HELP[] = "Set iteration time\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) {