summaryrefslogtreecommitdiffstats
path: root/lib/libc_r
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/libc_r
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/libc_r')
-rw-r--r--lib/libc_r/uthread/uthread_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_info.c b/lib/libc_r/uthread/uthread_info.c
index 16562ac..f2e67ac 100644
--- a/lib/libc_r/uthread/uthread_info.c
+++ b/lib/libc_r/uthread/uthread_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