summaryrefslogtreecommitdiff
path: root/Kernel/Net
diff options
context:
space:
mode:
authorJean-Baptiste Boric <jblbeurope@gmail.com>2021-04-13 19:55:49 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-13 21:52:34 +0200
commitdcff87215b283fd6de300026724972075085bd8e (patch)
treee85a8f8d67fc5c5a0a392af213bf2ca89cb13d9d /Kernel/Net
parenta73bd0fff8224fda5c8b365928663414be70da45 (diff)
downloadserenity-dcff87215b283fd6de300026724972075085bd8e.zip
Kernel: Fix RAM OK test condition for NE2000NetworkAdapter
Diffstat (limited to 'Kernel/Net')
-rw-r--r--Kernel/Net/NE2000NetworkAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/NE2000NetworkAdapter.cpp b/Kernel/Net/NE2000NetworkAdapter.cpp
index 430775f61b..0845da332d 100644
--- a/Kernel/Net/NE2000NetworkAdapter.cpp
+++ b/Kernel/Net/NE2000NetworkAdapter.cpp
@@ -195,7 +195,7 @@ UNMAP_AFTER_INIT NE2000NetworkAdapter::NE2000NetworkAdapter(PCI::Address address
dmesgln("NE2000: Interrupt line: {}", m_interrupt_line);
int ram_errors = ram_test();
- dmesgln("NE2000: RAM test {}, got {} byte errors", (ram_errors > 0 ? "OK" : "KO"), ram_errors);
+ dmesgln("NE2000: RAM test {}, got {} byte errors", (ram_errors == 0 ? "OK" : "KO"), ram_errors);
reset();
set_mac_address(m_mac_address);