diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2004-09-10 05:44:17 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2004-09-10 05:44:17 +0000 |
commit | 3deecb5cd52190c4f2779b92625e86c06342f9c6 (patch) | |
tree | 0d98b4e76bec4c1b35654daeda82dcc94b68ed3a /lib/libc/gmon/gmon.c | |
parent | 473098d94ade3efcae370241431267ceb7142248 (diff) | |
download | FreeBSD-src-3deecb5cd52190c4f2779b92625e86c06342f9c6.zip FreeBSD-src-3deecb5cd52190c4f2779b92625e86c06342f9c6.tar.gz |
Fix format strings to unbreak with -DDEBUG option.
Diffstat (limited to 'lib/libc/gmon/gmon.c')
-rw-r--r-- | lib/libc/gmon/gmon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c index da0c179..b2ba497 100644 --- a/lib/libc/gmon/gmon.c +++ b/lib/libc/gmon/gmon.c @@ -186,7 +186,7 @@ _mcleanup() _warn("_mcleanup: gmon.log"); return; } - len = sprintf(buf, "[mcleanup1] kcount 0x%x ssiz %d\n", + len = sprintf(buf, "[mcleanup1] kcount 0x%p ssiz %lu\n", p->kcount, p->kcountsize); _write(log, buf, len); #endif @@ -210,7 +210,7 @@ _mcleanup() toindex = p->tos[toindex].link) { #ifdef DEBUG len = sprintf(buf, - "[mcleanup2] frompc 0x%x selfpc 0x%x count %d\n" , + "[mcleanup2] frompc 0x%lx selfpc 0x%lx count %lu\n" , frompc, p->tos[toindex].selfpc, p->tos[toindex].count); _write(log, buf, len); |