Add newline to panic macro
This commit is contained in:
parent
57be90da84
commit
7301205e1f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#ifndef KERNEL_PANIC_H
|
||||
#define KERNEL_PANIC_H
|
||||
|
||||
#define PANIC(fmt, ...) __panic("[Panic @ %s:%d %s] " fmt, __FILE__, __LINE__, __func__, ##__VA_ARGS__)
|
||||
#define PANIC(fmt, ...) __panic("[Panic @ %s:%d %s] " fmt "\n", __FILE__, __LINE__, __func__, ##__VA_ARGS__)
|
||||
|
||||
void __panic(const char *restrict fmt, ...);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue