From 7b1b8ebb48174445083bc7fa336dc00619cbf126 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 2 Dec 2024 21:06:39 +0100 Subject: Don't repeat the task name when printing the model MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When printing the initial model message on DEBUG it repeated the "init" message twice. Avoid that by directly using 'write' on some of the calls. Fixes: 32e880127366 ("Prepend the name of the task on debug") Signed-off-by: Miquel Sabaté Solà --- include/fbos/printk.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/fbos/printk.h b/include/fbos/printk.h index d5f4804..e68d1eb 100644 --- a/include/fbos/printk.h +++ b/include/fbos/printk.h @@ -11,6 +11,7 @@ #ifdef __KERNEL__ extern void die(const char *const message); extern void printk(const char *const message); +extern void write(const char *const message, size_t n); extern void sys_write(const char *const message, size_t n); #else #include -- cgit v1.2.3