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

[Xen-changelog] [xen-unstable] [XEN] Fix my change to XENVER_pagesize hypercall --



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID ab63f44d948eb683edcc913205fb3bc126006cab
# Parent  23136423a76586c6b9f1f7a69fa39d377d526c9e
[XEN] Fix my change to XENVER_pagesize hypercall --
arg check wrong way round.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/common/kernel.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 23136423a765 -r ab63f44d948e xen/common/kernel.c
--- a/xen/common/kernel.c       Tue Jun 27 11:29:29 2006 +0100
+++ b/xen/common/kernel.c       Tue Jun 27 11:35:29 2006 +0100
@@ -214,7 +214,7 @@ long do_xen_version(int cmd, XEN_GUEST_H
 
     case XENVER_pagesize:
     {
-        return (guest_handle_is_null(arg) ? -EINVAL : PAGE_SIZE);
+        return (!guest_handle_is_null(arg) ? -EINVAL : PAGE_SIZE);
     }
 
     }

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