2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 19:19:37 +00:00

improve display error

This commit is contained in:
dlezcano
2008-09-03 16:13:03 +00:00
parent 1ef7a0c253
commit 2a87f7643e

View File

@@ -12,8 +12,8 @@
#define lxc_log_debug(format, ...) lxc_log(format, "debug", ##__VA_ARGS__);
#define lxc_log_trace(format, ...) lxc_log(format, "trace", ##__VA_ARGS__);
#define lxc_log_syserror(format, ...) do { \
fprintf(stderr, "[syserr][%s] \t%s:%d - " format "\n", \
strerror(errno),__FUNCTION__, __LINE__, \
fprintf(stderr, "[syserr] \t%s:%d: %s - " format "\n", \
__FUNCTION__, __LINE__, strerror(errno), \
##__VA_ARGS__); \
} while (0)