# HG changeset patch
# User Jimi Xenidis <[EMAIL PROTECTED]>
# Node ID 9c485899125450b3901ecb664e71c26a75009c8e
# Parent  03b9714ea388fa82a3f1344ae8888ce67b1b6ef1
[POWERPC][TOOLS] any non-zero result is an error
---
 tools/libxc/powerpc64/xc_memory.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 03b9714ea388 -r 9c4858991254 tools/libxc/powerpc64/xc_memory.c
--- a/tools/libxc/powerpc64/xc_memory.c Tue Aug 29 07:07:10 2006 -0400
+++ b/tools/libxc/powerpc64/xc_memory.c Tue Aug 29 07:07:57 2006 -0400
@@ -35,7 +35,7 @@ int xc_alloc_real_mode_area(int xc_handl
 
     err = do_dom0_op(xc_handle, &op);
 
-    if (err < 0)
+    if (err)
         DPRINTF("Failed real mode area allocation for dom %u (log %u)\n",
                 domain, log);
 

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to