Use same formatting for dbg_perror as for the other dbg_xxx functions.

git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@446 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
This commit is contained in:
jocke 2011-03-02 13:20:59 +00:00
parent 46a437e3d7
commit 6f1f8d9c78

View File

@ -62,7 +62,7 @@ extern int KQUEUE_DEBUG;
#define dbg_perror(str) do { \
if (KQUEUE_DEBUG) \
fprintf(stderr, "KQ: [%d] %s(): %s: %s (errno=%d)\n", \
fprintf(stderr, "KQ [%d]: %s(): %s: %s (errno=%d)\n", \
THREAD_ID, __func__, str, strerror(errno), errno); \
} while (0)