hw: ease usage of the kernel log

ref #989
This commit is contained in:
Martin Stein
2014-01-20 18:24:57 +01:00
committed by Norman Feske
parent eeb2d95b1f
commit 901b3e2bb4
5 changed files with 39 additions and 30 deletions

View File

@ -203,7 +203,7 @@ class Genode::Message_tpl
enum { NAME_SIZE = sizeof(name) };
size_t const data_size = raw_data_size + NAME_SIZE;
if (data_size > _max_data_size()) {
kernel_log() << __func__ << ": oversized message outgoing\n";
Kernel::log() << "oversized message outgoing\n";
raw_data_size = _max_data_size() - NAME_SIZE;
}
/* copy data */
@ -224,7 +224,7 @@ class Genode::Message_tpl
{
/* limit data size */
if (_data_size > buf_size) {
kernel_log() << __func__ << ": oversized message incoming\n";
Kernel::log() << "oversized message incoming\n";
_data_size = buf_size;
}
/* copy data */