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

[Xen-changelog] [xen-unstable] [IA64] Typo fix: avoid spurious errors.



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1182195396 21600
# Node ID bdcb9cf6073d180fa64f7213b59540194e4031f8
# Parent  952004c3d8221f224286cb852b72150df096e6eb
[IA64] Typo fix: avoid spurious errors.

Signed-off-by: Tristan Gingold <tgingold@xxxxxxx>
---
 tools/libxc/ia64/xc_dom_ia64_util.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 952004c3d822 -r bdcb9cf6073d tools/libxc/ia64/xc_dom_ia64_util.c
--- a/tools/libxc/ia64/xc_dom_ia64_util.c       Mon Jun 18 12:11:36 2007 +0100
+++ b/tools/libxc/ia64/xc_dom_ia64_util.c       Mon Jun 18 13:36:36 2007 -0600
@@ -104,7 +104,7 @@ xen_ia64_is_vcpu_allocated(struct xc_dom
     if (rc == 0)
         return 1;
 
-    if (rc != -ESRCH)
+    if (errno != ESRCH)
         PERROR("Could not get vcpu info");
     return 0;
 }

_______________________________________________
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®.