summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-08-15 13:55:00 -0400
committerAndreas Kling <kling@serenityos.org>2020-08-16 16:33:28 +0200
commit430b265cd45167fb2dca2323ea5f5b910be00a1d (patch)
tree703e3fb9cb2f752b8a85f6cab52698b94576abc0 /Kernel/API
parenta68650a7b41f0bb99d26a1405baaca33c1dfbcb6 (diff)
downloadserenity-430b265cd45167fb2dca2323ea5f5b910be00a1d.zip
AK: Rename KB, MB, GB to KiB, MiB, GiB
The SI prefixes "k", "M", "G" mean "10^3", "10^6", "10^9". The IEC prefixes "Ki", "Mi", "Gi" mean "2^10", "2^20", "2^30". Let's use the correct name, at least in code. Only changes the name of the constants, no other behavior change.
Diffstat (limited to 'Kernel/API')
-rw-r--r--Kernel/API/Syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index a882df0a35..6a4595fc42 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -355,7 +355,7 @@ struct SC_create_thread_params {
// ... ok, if you say so posix. Guess we get to lie to people about guard page size
unsigned int m_guard_page_size = 0; // Rounded up to PAGE_SIZE
unsigned int m_reported_guard_page_size = 0; // The lie we tell callers
- unsigned int m_stack_size = 4 * MB; // Default PTHREAD_STACK_MIN
+ unsigned int m_stack_size = 4 * MiB; // Default PTHREAD_STACK_MIN
Userspace<void*> m_stack_location; // nullptr means any, o.w. process virtual address
};