kernel/profiling: Fix a kprintf format.
authorSascha Wildner <saw@online.de>
Thu, 17 May 2012 08:41:29 +0000 (10:41 +0200)
committerSascha Wildner <saw@online.de>
Thu, 17 May 2012 08:41:29 +0000 (10:41 +0200)
sys/kern/subr_prof.c

index e598caa..1d763c7 100644 (file)
@@ -102,8 +102,8 @@ kmstartup(void *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;
-       kprintf("Profiling kernel, textsize=%lu [%x..%x]\n",
-              p->textsize, p->lowpc, p->highpc);
+       kprintf("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;