ia64/xen-unstable

changeset 13885:859d73ef932f

Fix a typo in console_steal().
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
author Keir Fraser <keir@xensource.com>
date Thu Feb 08 17:15:38 2007 +0000 (2007-02-08)
parents 870370439fb9
children 273ec6b70b51
files xen/drivers/char/console.c
line diff
     1.1 --- a/xen/drivers/char/console.c	Thu Feb 08 17:07:36 2007 +0000
     1.2 +++ b/xen/drivers/char/console.c	Thu Feb 08 17:15:38 2007 +0000
     1.3 @@ -223,7 +223,7 @@ int console_steal(int handle, void (*fn)
     1.4      if ( (handle == -1) || (handle != sercon_handle) )
     1.5          return 0;
     1.6  
     1.7 -    if ( serial_steal_fn == NULL )
     1.8 +    if ( serial_steal_fn != NULL )
     1.9          return -EBUSY;
    1.10  
    1.11      serial_steal_fn = fn;