[Xcb-commit] src
Josh Triplett
josh at kemper.freedesktop.org
Wed Jun 13 23:46:51 PDT 2007
src/xcb_xlib.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
New commits:
diff-tree 65ffbc6cfdb97b14689d3baef183cd50fbd31a7f (from 605c778e695a4535c35c5324325f310b5faf80e2)
Author: Josh Triplett <josh at freedesktop.org>
Date: Wed Jun 13 23:46:37 2007 -0700
Send locking assertion backtraces to stderr. Improve the heading on the backtrace.
diff --git a/src/xcb_xlib.c b/src/xcb_xlib.c
index 07d530c..35ad3c3 100644
--- a/src/xcb_xlib.c
+++ b/src/xcb_xlib.c
@@ -45,10 +45,10 @@ static void xcb_xlib_printbt(void)
size = backtrace(array, 20);
strings = backtrace_symbols(array, size);
- printf("Got a backtrace:\n");
+ fprintf(stderr, "Locking assertion failure. Backtrace:\n");
for (i = 0; i < size; ++i)
- printf("#%i %s\n", i, strings[i]);
+ fprintf(stderr, "#%i %s\n", i, strings[i]);
free(strings);
#endif
More information about the xcb-commit
mailing list