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

[Xen-changelog] Fix bugs in hyperprivop counting



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


 


Rackspace

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