diff options
author | marha <marha@users.sourceforge.net> | 2011-06-03 08:18:04 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-06-03 08:18:04 +0200 |
commit | cda19b1d226d565f1ca4327aeae827c621b3dfd6 (patch) | |
tree | 8a511d718c888b17c257a905607068613359f9a6 /xorg-server/hw/xquartz/darwin.c | |
parent | 4d7ec99788d8a1d56ff4bccea279ae8186b18cdc (diff) | |
download | vcxsrv-cda19b1d226d565f1ca4327aeae827c621b3dfd6.tar.gz vcxsrv-cda19b1d226d565f1ca4327aeae827c621b3dfd6.tar.bz2 vcxsrv-cda19b1d226d565f1ca4327aeae827c621b3dfd6.zip |
xserver xkeyboard-config mesa git update 3 Jun 2011
Diffstat (limited to 'xorg-server/hw/xquartz/darwin.c')
-rw-r--r-- | xorg-server/hw/xquartz/darwin.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xorg-server/hw/xquartz/darwin.c b/xorg-server/hw/xquartz/darwin.c index fa8d4ced2..29ab83677 100644 --- a/xorg-server/hw/xquartz/darwin.c +++ b/xorg-server/hw/xquartz/darwin.c @@ -79,7 +79,7 @@ aslclient aslc; -void debug_asl (const char *file, const char *function, int line, const char *fmt, ...) { +void xq_asl_log (int level, const char *subsystem, const char *file, const char *function, int line, const char *fmt, ...) { va_list args; aslmsg msg = asl_new(ASL_TYPE_MSG); @@ -93,10 +93,12 @@ void debug_asl (const char *file, const char *function, int line, const char *fm asl_set(msg, "Line", _line); free(_line); } + if(subsystem) + asl_set(msg, "Subsystem", subsystem); } va_start(args, fmt); - asl_vlog(aslc, msg, ASL_LEVEL_DEBUG, fmt, args); + asl_vlog(aslc, msg, level, fmt, args); va_end(args); if(msg) |