mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.1389.9.5 (4280ce45ySNP-9TH6XPIhkIZcGy1LA)
Fix bugs in hyperprivop counting
This commit is contained in:
1 parent
f69ab07dab
commit
3cfd87898e
1 file changed
+2
-1
@@ -1004,8 +1004,9 @@ int dump_hyperprivop_counts(char *buf)
|
||||
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)
|
||||
|
||||