ia64/xen-unstable

changeset 15373:bdcb9cf6073d

[IA64] Typo fix: avoid spurious errors.

Signed-off-by: Tristan Gingold <tgingold@free.fr>
author Alex Williamson <alex.williamson@hp.com>
date Mon Jun 18 13:36:36 2007 -0600 (2007-06-18)
parents 952004c3d822
children 0944634d4639
files tools/libxc/ia64/xc_dom_ia64_util.c
line diff
     1.1 --- a/tools/libxc/ia64/xc_dom_ia64_util.c	Mon Jun 18 12:11:36 2007 +0100
     1.2 +++ b/tools/libxc/ia64/xc_dom_ia64_util.c	Mon Jun 18 13:36:36 2007 -0600
     1.3 @@ -104,7 +104,7 @@ xen_ia64_is_vcpu_allocated(struct xc_dom
     1.4      if (rc == 0)
     1.5          return 1;
     1.6  
     1.7 -    if (rc != -ESRCH)
     1.8 +    if (errno != ESRCH)
     1.9          PERROR("Could not get vcpu info");
    1.10      return 0;
    1.11  }