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-changelog

[Xen-changelog] Fix bugs in hyperprivop counting

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix bugs in hyperprivop counting
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 10 May 2005 15:07:49 +0000
Delivery-date: Wed, 11 May 2005 07:03:29 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1423.5.5, 2005/05/10 09:07:49-06:00, djm@xxxxxxxxxxxxxxx

        Fix bugs in hyperprivop counting



 privop.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


diff -Nru a/xen/arch/ia64/privop.c b/xen/arch/ia64/privop.c
--- a/xen/arch/ia64/privop.c    2005-05-11 03:04:02 -04:00
+++ b/xen/arch/ia64/privop.c    2005-05-11 03:04:02 -04:00
@@ -1004,8 +1004,9 @@
        s += sprintf(s,"Hyperprivops:\n");
        for (i = 1; i <= HYPERPRIVOP_MAX; i++)
                if (hyperpriv_cnt[i])
-                       s += sprintf("%10d %s\n",
+                       s += sprintf(s,"%10d %s\n",
                                hyperpriv_cnt[i], hyperpriv_str[i]);
+       return s - buf;
 }
 
 void zero_hyperprivop_counts(void)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix bugs in hyperprivop counting, BitKeeper Bot <=