diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-06-13 23:46:37 -0700 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-06-13 23:46:37 -0700 |
commit | 65ffbc6cfdb97b14689d3baef183cd50fbd31a7f (patch) | |
tree | 9e195e1297bdc62adba53e900e298366de65f4da /src | |
parent | 605c778e695a4535c35c5324325f310b5faf80e2 (diff) |
Send locking assertion backtraces to stderr. Improve the heading on the backtrace.
Diffstat (limited to 'src')
-rw-r--r-- | src/xcb_xlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |