aboutsummaryrefslogtreecommitdiff
path: root/src/xz
diff options
context:
space:
mode:
authorDimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-07-31 14:02:21 +0200
committerLasse Collin <lasse.collin@tukaani.org>2023-08-01 18:44:02 +0300
commit0db6fbe0be1545a4f25fcd6993371155b37bbb26 (patch)
treecea60902967897163026cbc7a37055114e431e1a /src/xz
parentUpdate .gitignore. (diff)
downloadxz-0db6fbe0be1545a4f25fcd6993371155b37bbb26.tar.xz
Docs: Fix typos found by codespell
Diffstat (limited to 'src/xz')
-rw-r--r--src/xz/hardware.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xz/hardware.c b/src/xz/hardware.c
index ccdc3b9e..c6948821 100644
--- a/src/xz/hardware.c
+++ b/src/xz/hardware.c
@@ -42,7 +42,7 @@ static uint64_t memlimit_decompress = 0;
///
/// - Default value for --memlimit-mt-decompress
///
-/// This value is caluclated in hardware_init() and cannot be changed later.
+/// This value is calculated in hardware_init() and cannot be changed later.
static uint64_t memlimit_mt_default;
/// Memory usage limit for multithreaded decompression. This is a soft limit:
@@ -147,7 +147,7 @@ hardware_memlimit_set(uint64_t new_memlimit,
// for the xz program and so on. Don't use 4000 MiB because
// it could look like someone mixed up base-2 and base-10.
#ifdef __mips__
- // For MIPS32, due to architectural pecularities,
+ // For MIPS32, due to architectural peculiarities,
// the limit is even lower.
const uint64_t limit_max = UINT64_C(2000) << 20;
#else