more DEBUGF

This commit is contained in:
van Hauser
2020-11-30 21:54:18 +01:00
parent 1b75cc9f74
commit e769102491
7 changed files with 60 additions and 61 deletions

View File

@ -270,6 +270,16 @@
\
} while (0)
/* Show a prefixed debug output. */
#define DEBUGF(x...) \
do { \
\
SAYF(cMGN "[D] " cBRI "DEBUG: " cRST x); \
SAYF(cRST ""); \
\
} while (0)
/* Error-checking versions of read() and write() that call RPFATAL() as
appropriate. */