diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-07-19 09:51:48 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-19 11:03:22 +0200 |
commit | 762333ba95ab06e87e4741b8218212c46f0808b4 (patch) | |
tree | d2df5de5557e2c24b5095765c03812307198dcb9 /Kernel/Net | |
parent | b13f1699fc646d85e4b78313afd4856923775eb2 (diff) | |
download | serenity-762333ba95ab06e87e4741b8218212c46f0808b4.zip |
Kernel: Restore state strings for block states
"Blocking" is not terribly informative, but now that everything is
ported over, we can force the blocker to provide us with a reason.
This does mean that to_string(State) needed to become a member, but
that's OK.
Diffstat (limited to 'Kernel/Net')
-rw-r--r-- | Kernel/Net/NetworkTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/NetworkTask.cpp b/Kernel/Net/NetworkTask.cpp index 5c553e7cd2..2d929e7961 100644 --- a/Kernel/Net/NetworkTask.cpp +++ b/Kernel/Net/NetworkTask.cpp @@ -59,7 +59,7 @@ void NetworkTask_main() for (;;) { auto packet = dequeue_packet(); if (packet.is_null()) { - current->block_until([] { + current->block_until("Networking", [] { if (LoopbackAdapter::the().has_queued_packets()) return true; if (auto* e1000 = E1000NetworkAdapter::the()) { |