summaryrefslogtreecommitdiff
path: root/Kernel/Net
diff options
context:
space:
mode:
authorConrad Pankoff <deoxxa@fknsrs.biz>2019-12-28 11:19:07 +1100
committerAndreas Kling <awesomekling@gmail.com>2019-12-28 02:03:49 +0100
commitbbb536ebed69a855f12ffeced67442111ef8c666 (patch)
treea2461034abb64c613bf25306e2cfed64a6dbd45e /Kernel/Net
parent5ca7ae458577ebd4988cff1d1d12af182e6b1359 (diff)
downloadserenity-bbb536ebed69a855f12ffeced67442111ef8c666.zip
Kernel: Fix code locked behind NETWORK_TASK_DEBUG
Diffstat (limited to 'Kernel/Net')
-rw-r--r--Kernel/Net/NetworkTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/NetworkTask.cpp b/Kernel/Net/NetworkTask.cpp
index d6e8fda2da..d1d34190d7 100644
--- a/Kernel/Net/NetworkTask.cpp
+++ b/Kernel/Net/NetworkTask.cpp
@@ -67,7 +67,7 @@ void NetworkTask_main()
packet_size = adapter.dequeue_packet(buffer, buffer_size);
pending_packets--;
#ifdef NETWORK_TASK_DEBUG
- kprintf("NetworkTask: Dequeued packet from %s (%d bytes)\n", adapter.name().characters(), packet.value().size());
+ kprintf("NetworkTask: Dequeued packet from %s (%d bytes)\n", adapter.name().characters(), packet_size);
#endif
});
return packet_size;