mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
parser: Send PDEBUG() to stderr
PDEBUG() and PERROR() should both go to stderr. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
/* #define DEBUG */
|
||||
#ifdef DEBUG
|
||||
#undef PDEBUG
|
||||
#define PDEBUG(fmt, args...) printf("Lexer: " fmt, ## args)
|
||||
#define PDEBUG(fmt, args...) fprintf(stderr, "Lexer: " fmt, ## args)
|
||||
#else
|
||||
#undef PDEBUG
|
||||
#define PDEBUG(fmt, args...) /* Do nothing */
|
||||
|
Reference in New Issue
Block a user