summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-17 18:20:28 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-17 18:35:49 +0200
commit723f4e5ee65cb31b29428d2ea4d701fd906204c0 (patch)
treeabf21a26f22f6d9d317ebb4b47e07217c0e4f83f /Kernel
parentd7bf60937655fbe316a9aff8c1119339ffb23e79 (diff)
downloadserenity-723f4e5ee65cb31b29428d2ea4d701fd906204c0.zip
Meta: Scale back overly informal user-facing strings
We were getting a little overly memey in some places, so let's scale things back to business-casual. Informal language is fine in comments, commits and debug logs, but let's keep the runtime nice and presentable. :^)
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Arch/i386/CPU.cpp4
-rw-r--r--Kernel/Heap/kmalloc.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Arch/i386/CPU.cpp b/Kernel/Arch/i386/CPU.cpp
index 3fce021fcb..9ad0b6ff43 100644
--- a/Kernel/Arch/i386/CPU.cpp
+++ b/Kernel/Arch/i386/CPU.cpp
@@ -176,7 +176,7 @@ void handle_crash(RegisterState& regs, const char* description, int signal, bool
dump(regs);
if (Process::current->is_ring0()) {
- klog() << "Oh shit, we've crashed in ring 0 :(";
+ klog() << "Crash in ring 0 :(";
dump_backtrace();
hang();
}
@@ -819,7 +819,7 @@ void cpu_setup()
if (g_cpu_supports_rdrand) {
klog() << "x86: Using RDRAND for good randomness";
} else {
- klog() << "x86: No RDRAND support detected. Randomness will be shitty";
+ klog() << "x86: No RDRAND support detected, randomness will be poor";
}
}
diff --git a/Kernel/Heap/kmalloc.cpp b/Kernel/Heap/kmalloc.cpp
index b33136911a..32a1562c04 100644
--- a/Kernel/Heap/kmalloc.cpp
+++ b/Kernel/Heap/kmalloc.cpp
@@ -142,7 +142,7 @@ void* kmalloc_impl(size_t size)
if (g_kmalloc_bytes_free < real_size) {
Kernel::dump_backtrace();
- klog() << "kmalloc(): PANIC! Out of memory (sucks, dude)\nsum_free=" << g_kmalloc_bytes_free << ", real_size=" << real_size;
+ klog() << "kmalloc(): PANIC! Out of memory\nsum_free=" << g_kmalloc_bytes_free << ", real_size=" << real_size;
Kernel::hang();
}