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

[Xen-ia64-devel] [PATCH] [IA64] tidy up vcpu_set_itc error message



This patch enhances the error message in question in two minor ways

* typo fix: one -> once
* Print the entire message at once, otherwise it
  seems to end up geting interlaced with other dom0 kernel
  messages on the console (on my system at least).

Signed-Off-By: Simon Horman <horms@xxxxxxxxxxxx>

diff -r 80c5b5914b79 xen/arch/ia64/xen/vcpu.c
--- a/xen/arch/ia64/xen/vcpu.c  Wed Dec 20 14:55:02 2006 -0700
+++ b/xen/arch/ia64/xen/vcpu.c  Wed Dec 27 13:16:15 2006 +0900
@@ -1208,8 +1208,8 @@ IA64FAULT vcpu_set_itc(VCPU * vcpu, u64 
 #ifdef DISALLOW_SETTING_ITC_FOR_NOW
        static int did_print;
        if (!did_print) {
-               printk("vcpu_set_itc: Setting ar.itc is currently disabled\n");
-               printk("(this message is only displayed one)\n");
+               printk("vcpu_set_itc: Setting ar.itc is currently disabled "
+                      "(this message is only displayed once)\n");
                did_print = 1;
        }
 #else

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


 


Rackspace

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