mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-10-07 01:03:27 +00:00
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:
parent
46a437e3d7
commit
6f1f8d9c78
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user