summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-12-25 19:35:43 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-25 19:35:55 +0100
commit057c1d4798f557b9dac6b0a10d7fa18d66de6131 (patch)
treec44eba652ff5da4a083c53e902c2b6c7828149ea
parented5c26d698f586d0d5036b29cd88f6b91314314c (diff)
downloadserenity-057c1d4798f557b9dac6b0a10d7fa18d66de6131.zip
Kernel: Fix build with E1000_DEBUG
-rw-r--r--Kernel/Net/E1000NetworkAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/E1000NetworkAdapter.cpp b/Kernel/Net/E1000NetworkAdapter.cpp
index d5ca9ed9f3..9ac0734f2e 100644
--- a/Kernel/Net/E1000NetworkAdapter.cpp
+++ b/Kernel/Net/E1000NetworkAdapter.cpp
@@ -458,7 +458,7 @@ void E1000NetworkAdapter::send_raw(ReadonlyBytes payload)
m_wait_queue.wait_on(nullptr, "E1000NetworkAdapter");
}
#ifdef E1000_DEBUG
- dbgln("E1000: Sent packet, status is now {:#02x}!", descriptor.status);
+ dbgln("E1000: Sent packet, status is now {:#02x}!", (u8)descriptor.status);
#endif
}