From cda19b1d226d565f1ca4327aeae827c621b3dfd6 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 3 Jun 2011 08:18:04 +0200 Subject: xserver xkeyboard-config mesa git update 3 Jun 2011 --- xorg-server/hw/xquartz/darwin.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xorg-server/hw/xquartz/darwin.c') 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) -- cgit v1.2.3