summaryrefslogtreecommitdiff
path: root/lib/libpthread/debuglog.c
diff options
context:
space:
mode:
authornathanw <nathanw@NetBSD.org>2003-06-25 23:26:00 +0000
committernathanw <nathanw@NetBSD.org>2003-06-25 23:26:00 +0000
commit3ca7487c304d7a82db2a24405b488b25514a46b4 (patch)
tree99cfa23e8cb21b40912dc92d55248de24c0dc5ec /lib/libpthread/debuglog.c
parent4a9ac109f07117ac8f5e99c65602cd39b57b2e80 (diff)
More printf format size tweaks.
Diffstat (limited to 'lib/libpthread/debuglog.c')
-rw-r--r--lib/libpthread/debuglog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/debuglog.c b/lib/libpthread/debuglog.c
index d03ea65c920..2ebbd15e81e 100644
--- a/lib/libpthread/debuglog.c
+++ b/lib/libpthread/debuglog.c
@@ -1,4 +1,4 @@
-/* $NetBSD: debuglog.c,v 1.3 2003/01/27 20:54:26 nathanw Exp $ */
+/* $NetBSD: debuglog.c,v 1.4 2003/06/25 23:26:00 nathanw Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -112,8 +112,8 @@ pthread__debuglog_rawdump(void)
printf("Debug log raw dump\n");
printf("Magic: %06x\n", debugbuf->msg_magic);
printf("Size: %06llx\n", (long long)debugbuf->msg_bufs);
- printf("Read start: %d Write start: %d\n\n",
- debugbuf->msg_bufr, debugbuf->msg_bufw);
+ printf("Read start: %ld Write start: %ld\n\n",
+ (long)debugbuf->msg_bufr, (long)debugbuf->msg_bufw);
fwrite(&debugbuf->msg_bufc[0], debugbuf->msg_bufs, 1, stdout);
}