diff options
author | bde <bde@FreeBSD.org> | 2004-05-20 16:48:17 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-05-20 16:48:17 +0000 |
commit | b3597241df8c9d6f65568b904c6d6ae1b8bb88cf (patch) | |
tree | f88729c1d0083dc9887f6b73a5144d0e935cb878 /sys/kern/subr_prof.c | |
parent | 38ad66960391879da6700c4894ec8e49b0f0c640 (diff) | |
download | FreeBSD-src-b3597241df8c9d6f65568b904c6d6ae1b8bb88cf.zip FreeBSD-src-b3597241df8c9d6f65568b904c6d6ae1b8bb88cf.tar.gz |
Fixed printf format errors which helped break GUPROF for arches with
64-bit function pointers.
Diffstat (limited to 'sys/kern/subr_prof.c')
-rw-r--r-- | sys/kern/subr_prof.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c index ea1c4ab..1797f7a 100644 --- a/sys/kern/subr_prof.c +++ b/sys/kern/subr_prof.c @@ -160,8 +160,8 @@ kmstartup(dummy) p->lowpc = ROUNDDOWN((u_long)btext, HISTFRACTION * sizeof(HISTCOUNTER)); p->highpc = ROUNDUP((u_long)etext, HISTFRACTION * sizeof(HISTCOUNTER)); p->textsize = p->highpc - p->lowpc; - printf("Profiling kernel, textsize=%lu [%x..%x]\n", - p->textsize, p->lowpc, p->highpc); + printf("Profiling kernel, textsize=%lu [%jx..%jx]\n", + p->textsize, (uintmax_t)p->lowpc, (uintmax_t)p->highpc); p->kcountsize = p->textsize / HISTFRACTION; p->hashfraction = HASHFRACTION; p->fromssize = p->textsize / HASHFRACTION; |