[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] fix printf format specifier in xenlockprof.c


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Jun Koi <junkoi2004@xxxxxxxxx>
  • Date: Fri, 16 Oct 2009 12:19:42 +0900
  • Delivery-date: Thu, 15 Oct 2009 20:20:25 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Qb6YItoYyxdI/BioyscoQk42acSnhDnxmoAQiubwJmqK17ABMwt+2rvO4DPMefBc0U NDfRWXPsFmjkgKvQoMhJdaA4zCq+O8vg/s0PrFlwCKfGSNTxsaDIwIOFGoZlo/A0oVNl QW2aPOd+vf3IJ4jSOIJXHnuP4X07BT0vQhMPc=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.