mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 17:17:38 +00:00
committed by
Christian Helmuth
parent
9ef0f1b6cb
commit
e9b249b709
@ -2,6 +2,7 @@ base
|
||||
nic_driver
|
||||
nic_session
|
||||
os
|
||||
format
|
||||
platform_session
|
||||
report_session
|
||||
timer_session
|
||||
|
@ -1,6 +1,6 @@
|
||||
TARGET = ipxe_nic_drv
|
||||
REQUIRES = x86
|
||||
LIBS = base dde_ipxe_nic nic_driver
|
||||
LIBS = base dde_ipxe_nic nic_driver format
|
||||
SRC_CC = main.cc
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
||||
|
@ -39,6 +39,9 @@
|
||||
#include <util/retry.h>
|
||||
#include <util/reconstructible.h>
|
||||
|
||||
/* format-string includes */
|
||||
#include <format/snprintf.h>
|
||||
|
||||
/* local includes */
|
||||
#include <dde_support.h>
|
||||
|
||||
@ -77,7 +80,7 @@ extern "C" void dde_vprintf(const char *format, va_list list)
|
||||
using namespace Genode;
|
||||
|
||||
char buf[128] { };
|
||||
String_console(buf, sizeof(buf)).vprintf(format, list);
|
||||
Format::String_console(buf, sizeof(buf)).vprintf(format, list);
|
||||
log(Cstring(buf));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user