Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2461 → Rev 2462

/trunk/kernel/generic/include/panic.h
36,7 → 36,7
#define KERN_PANIC_H_
 
#ifdef CONFIG_DEBUG
# define panic(format, ...) panic_printf("Kernel panic in %s() at %s on line %d: " format, __FUNCTION__, __FILE__, __LINE__, ##__VA_ARGS__);
# define panic(format, ...) panic_printf("Kernel panic in %s() at %s on line %d: " format, __func__, __FILE__, __LINE__, ##__VA_ARGS__);
#else
# define panic(format, ...) panic_printf("Kernel panic: " format, ##__VA_ARGS__);
#endif