From cbfa6f24be3926280a35777f193c07689d6c4915 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Tue, 12 May 2015 13:43:13 +0900 Subject: Fix the 64 bits build error Change-Id: I94cda4dc3b64a39dbb677334d1a0e5b0090c309b --- src/com-core_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com-core_thread.c b/src/com-core_thread.c index 9995477..9954e37 100644 --- a/src/com-core_thread.c +++ b/src/com-core_thread.c @@ -187,7 +187,7 @@ static inline void terminate_thread(struct tcb *tcb) if (status != 0) { ErrPrint("Join: %s\n", strerror(status)); } else { - ErrPrint("Thread returns: %d\n", (int)res); + ErrPrint("Thread returns: %p\n", res); } dlist_foreach_safe(tcb->chunk_list, l, n, chunk) { -- cgit v1.2.3