diff options
| author | nathanw <nathanw@NetBSD.org> | 2003-01-27 20:54:26 +0000 |
|---|---|---|
| committer | nathanw <nathanw@NetBSD.org> | 2003-01-27 20:54:26 +0000 |
| commit | ee45767b84cafffc2c2c8e7aa559789f98e07f93 (patch) | |
| tree | a679ed2f47a437481a92ee6d9fdf8f34f457245c /lib/libpthread | |
| parent | 01ca174f626e9120bf98e4f959a6f29b71e548ad (diff) | |
printf format fixes.
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/debuglog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/debuglog.c b/lib/libpthread/debuglog.c index 91165f23e28..d03ea65c920 100644 --- a/lib/libpthread/debuglog.c +++ b/lib/libpthread/debuglog.c @@ -1,4 +1,4 @@ -/* $NetBSD: debuglog.c,v 1.2 2003/01/18 10:34:14 thorpej Exp $ */ +/* $NetBSD: debuglog.c,v 1.3 2003/01/27 20:54:26 nathanw Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -111,8 +111,8 @@ pthread__debuglog_rawdump(void) printf("Debug log raw dump\n"); printf("Magic: %06x\n", debugbuf->msg_magic); - printf("Size: %06lx\n", debugbuf->msg_bufs); - printf("Read start: %ld Write start: %ld\n\n", + printf("Size: %06llx\n", (long long)debugbuf->msg_bufs); + printf("Read start: %d Write start: %d\n\n", debugbuf->msg_bufr, debugbuf->msg_bufw); fwrite(&debugbuf->msg_bufc[0], debugbuf->msg_bufs, 1, stdout); |
