Commit | Line | Data |
---|---|---|
bf84eacb JA |
1 | #include <stdarg.h> |
2 | #include <sys/types.h> | |
3 | #include <unistd.h> | |
4 | #include "debug.h" | |
5 | ||
2d5c40e7 | 6 | #ifdef FIO_INC_DEBUG |
bf84eacb JA |
7 | void __dprint(int type, const char *str, ...) |
8 | { | |
9 | va_list args; | |
bf84eacb JA |
10 | |
11 | assert(type < FD_DEBUG_MAX); | |
12 | ||
bf84eacb | 13 | va_start(args, str); |
e5f9a813 | 14 | log_prevalist(type, str, args); |
bf84eacb JA |
15 | va_end(args); |
16 | } | |
2d5c40e7 | 17 | #endif |