diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-07-21 23:13:46 -0400 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-08-19 12:27:37 -0700 |
commit | 674092a9c523fdb53bf9ed60d1ddbaa30a5a0558 (patch) | |
tree | 556983152fd7d495fdd8047ab5c3db8f1520cf5e /libpthread/linuxthreads.old/manager.c | |
parent | e77fe036cfbcb690d4b2f19d58665bb28d00e4a0 (diff) | |
download | uClibc-alpine-674092a9c523fdb53bf9ed60d1ddbaa30a5a0558.tar.bz2 uClibc-alpine-674092a9c523fdb53bf9ed60d1ddbaa30a5a0558.tar.xz |
libpthread: add format attribute to __pthread_message()
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/linuxthreads.old/manager.c')
-rw-r--r-- | libpthread/linuxthreads.old/manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/manager.c b/libpthread/linuxthreads.old/manager.c index 88c92533e..52c1ea9b6 100644 --- a/libpthread/linuxthreads.old/manager.c +++ b/libpthread/linuxthreads.old/manager.c @@ -198,7 +198,7 @@ int attribute_noreturn __pthread_manager(void *arg) request.req_thread->p_pid, request.req_thread->p_report_events, &request.req_thread->p_eventbuf.eventmask); - PDEBUG("restarting %d\n", request.req_thread); + PDEBUG("restarting %p\n", request.req_thread); restart(request.req_thread); break; case REQ_FREE: @@ -206,7 +206,7 @@ int attribute_noreturn __pthread_manager(void *arg) pthread_handle_free(request.req_args.free.thread_id); break; case REQ_PROCESS_EXIT: - PDEBUG("got REQ_PROCESS_EXIT from %d, exit code = %d\n", + PDEBUG("got REQ_PROCESS_EXIT from %p, exit code = %d\n", request.req_thread, request.req_args.exit.code); pthread_handle_exit(request.req_thread, request.req_args.exit.code); |