From 358f2170e7248965420b2b7f0d42352918c2bb1e Mon Sep 17 00:00:00 2001 From: David Lichteblau Date: Fri, 17 Jun 2011 13:30:14 +0200 Subject: [PATCH] Use %p for pthread pointers in debugging output --- src/runtime/runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 7ee4248..3c29b27 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -64,7 +64,7 @@ extern sigset_t blockable_sigset; #endif #ifdef LISP_FEATURE_SB_THREAD -#define QSHOW_PREFIX fprintf(stderr, "%lu ", pthread_self()); +#define QSHOW_PREFIX fprintf(stderr, "%p ", pthread_self()); #else #define QSHOW_PREFIX #endif -- 1.7.10.4