diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-09-10 05:44:17 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-09-10 05:44:17 +0000 |
commit | 312f18518e1604256edc9c15fa6df2db99309d99 (patch) | |
tree | 0d98b4e76bec4c1b35654daeda82dcc94b68ed3a /lib/libc/gmon | |
parent | 7dafab2e787c10eeb2fe0eb7540a45f2dd484dd1 (diff) | |
download | src-312f18518e1604256edc9c15fa6df2db99309d99.tar.gz src-312f18518e1604256edc9c15fa6df2db99309d99.zip |
Fix format strings to unbreak with -DDEBUG option.
Notes
Notes:
svn path=/head/; revision=135024
Diffstat (limited to 'lib/libc/gmon')
-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 da0c1795997a..b2ba4970e2bc 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); |