[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] fix printf format specifier in xenlockprof.c
This patch fix the printf format specifier in xenlockprof.c Signed-off-by: Jun Koi <junkoi2004@xxxxxxxxx> --- a/tools/misc/xenlockprof.c Wed Oct 14 09:09:23 2009 +0100 +++ b/tools/misc/xenlockprof.c Fri Oct 16 12:15:13 2009 +0800 @@ -124,7 +124,7 @@ b = (double)(data[j].block_time) / 1E+09; sl += l; sb += b; - printf("%-50s: lock:%12ld(%20.9fs), block:%12ld(%20.9fs)\n", + printf("%-50s: lock:%12lld(%20.9fs), block:%12lld(%20.9fs)\n", name, data[j].lock_cnt, l, data[j].block_cnt, b); } l = (double)time / 1E+09; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |