diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-02 21:06:39 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-02 21:09:54 +0100 |
| commit | 7b1b8ebb48174445083bc7fa336dc00619cbf126 (patch) | |
| tree | e2215a1230f4fc9773cffa4d7ccdb8dff7c130d2 /include | |
| parent | 6132623dbf3076da11cdb85c494fadd7ee0f0a93 (diff) | |
| download | fbos-7b1b8ebb48174445083bc7fa336dc00619cbf126.tar.gz fbos-7b1b8ebb48174445083bc7fa336dc00619cbf126.zip | |
Don't repeat the task name when printing the model
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à <mikisabate@gmail.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/fbos/printk.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <stdio.h> |
