aboutsummaryrefslogtreecommitdiff
path: root/src/xz/hardware.c
diff options
context:
space:
mode:
authorDimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-07-31 14:02:21 +0200
committerGitHub <noreply@github.com>2023-07-31 20:02:21 +0800
commit42df7c7aa1cca385e509eb33c65136e61890f0bf (patch)
treec537bd6d60be9ac2d71ca3d7f887cde8d8e92ed1 /src/xz/hardware.c
parentUpdate .gitignore. (diff)
downloadxz-42df7c7aa1cca385e509eb33c65136e61890f0bf.tar.xz
Docs: Fix typos found by codespell
Diffstat (limited to '')
-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