summaryrefslogtreecommitdiffstats
path: root/lib/libkse
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-30 18:00:11 +0000
committerbde <bde@FreeBSD.org>1998-06-30 18:00:11 +0000
commitaf9053c52e07d5373748591f9a1c16cd328153d1 (patch)
tree694891c62b64b1f86fbc6a5b311aae5be1001e0e /lib/libkse
parent53e5892174c34c39d6d81db0c3263e2bb4c25dbb (diff)
downloadFreeBSD-src-af9053c52e07d5373748591f9a1c16cd328153d1.zip
FreeBSD-src-af9053c52e07d5373748591f9a1c16cd328153d1.tar.gz
Fixed a printf format error. Didn't fix assumption that sigset_t is
integral.
Diffstat (limited to 'lib/libkse')
-rw-r--r--lib/libkse/thread/thr_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkse/thread/thr_info.c b/lib/libkse/thread/thr_info.c
index 16562ac..f2e67ac 100644
--- a/lib/libkse/thread/thr_info.c
+++ b/lib/libkse/thread/thr_info.c
@@ -118,7 +118,7 @@ _thread_dump_info(void)
_thread_sys_write(fd, s, strlen(s));
break;
case PS_SIGWAIT:
- sprintf(s, "sigmask 0x%08lx\n", pthread->sigmask);
+ sprintf(s, "sigmask 0x%08lx\n", (unsigned long)pthread->sigmask);
_thread_sys_write(fd, s, strlen(s));
break;
OpenPOWER on IntegriCloud