printf format fixes.

This commit is contained in:
nathanw 2003-01-27 20:54:26 +00:00
parent 01ca174f62
commit ee45767b84

View File

@ -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);