From ee45767b84cafffc2c2c8e7aa559789f98e07f93 Mon Sep 17 00:00:00 2001 From: nathanw Date: Mon, 27 Jan 2003 20:54:26 +0000 Subject: printf format fixes. --- lib/libpthread/debuglog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libpthread/debuglog.c') 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); -- cgit