Fix a typo in console_steal. Signed-off-by Kevin Tian <kevin.tian@intel.com> Thanks, Kevin diff -r 780f097b54c5 xen/drivers/char/console.c --- a/xen/drivers/char/console.c Wed Feb 07 17:29:52 2007 +0000 +++ b/xen/drivers/char/console.c Thu Feb 08 19:51:20 2007 +0800 @@ -223,7 +223,7 @@ int console_steal(int handle, void (*fn) if ( (handle == -1) || (handle != sercon_handle) ) return 0; - if ( serial_steal_fn == NULL ) + if ( serial_steal_fn != NULL ) return -EBUSY; serial_steal_fn = fn; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel