Kernel: Fix code locked behind NETWORK_TASK_DEBUG

This commit is contained in:
Conrad Pankoff 2019-12-28 11:19:07 +11:00 committed by Andreas Kling
parent 5ca7ae4585
commit bbb536ebed
Notes: sideshowbarker 2024-07-19 10:35:37 +09:00

View file

@ -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;