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

[Xen-changelog] [xen-unstable] Fix a typo in console_steal().



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1170954938 0
# Node ID 859d73ef932f8575e013baa6bce2526d9f564a5d
# Parent  870370439fb94d219a970aa7caaf90ea9a1368ef
Fix a typo in console_steal().
Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx>
---
 xen/drivers/char/console.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 870370439fb9 -r 859d73ef932f xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Thu Feb 08 17:07:36 2007 +0000
+++ b/xen/drivers/char/console.c        Thu Feb 08 17:15:38 2007 +0000
@@ -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-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®.