WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] fix printf format specifier in xenlockprof.c
From: Jun Koi <junkoi2004@xxxxxxxxx>
Date: Fri, 16 Oct 2009 12:19:42 +0900
Delivery-date: Thu, 15 Oct 2009 20:20:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=jvyU1L9K8l5iEjkvLk+tHMwUGTwjpCCVqw7tfSb3gWE=; b=eqegosq2pr1qBcftVB9YTDXo66ByJQg3O6exU7dKyRE4sADUkmoLefVzED9egahadL 8KRW/zv2YMW110CDhWYdNb5cZSTUYPz06ZZ5JTa+dKVvwYTPyPh54fipcKHdN0CrdKKM l44TB522reiKKcHhVqU4Ama+Cze2gyeuvuDOE=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] fix printf format specifier in xenlockprof.c, Jun Koi <=