diff --git a/lib/libpthread/debuglog.c b/lib/libpthread/debuglog.c index 91165f23e28e..d03ea65c920a 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);