Date: Thu, 14 Jul 2005 16:28:08 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: Tilman Linneweh <tilman+2005-07-14@arved.at> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sys malloc.h src/sys/kern kern_malloc.c Message-ID: <20050714162745.W35071@fledge.watson.org> In-Reply-To: <20050714144732.GA62728@arved.at> References: <200507141152.j6EBq6x2065276@repoman.freebsd.org> <20050714144732.GA62728@arved.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Jul 2005, Tilman Linneweh wrote: >> | @@ -686,10 +689,10 @@ sysctl_kern_malloc(SYSCTL_HANDLER_ARGS) >> | temp_bytes = 0; >> | >> | /* >> | - * XXXRW: High-waterwark is no longer easily available, so >> | - * we just print '-' for that column. >> | + * High-waterwark is no longer easily available, so we just >> | + * print '-' for that column. >> | */ >> | - sbuf_printf(&sbuf, "%13s%6lu%6luK -%9lu", >> | + sbuf_printf(&sbuf, "%13s%6lu%6luK -%9llu", >> | mtp->ks_shortdesc, >> | temp_allocs, >> | (temp_bytes + 1023) / 1024, > > This does not compile on amd64. > > /usr/src/sys/kern/kern_malloc.c: In function `sysctl_kern_malloc': > /usr/src/sys/kern/kern_malloc.c:699: warning: long long unsigned int > format, uint64_t arg (arg 6) This should now be fixed. If not, please let me know. Thanks! Robert N M Watson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050714162745.W35071>