direct-io.hg

changeset 10498:ab63f44d948e

[XEN] Fix my change to XENVER_pagesize hypercall --
arg check wrong way round.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@dhcp93.uk.xensource.com
date Tue Jun 27 11:35:29 2006 +0100 (2006-06-27)
parents 23136423a765
children b4e328334392
files xen/common/kernel.c
line diff
     1.1 --- a/xen/common/kernel.c	Tue Jun 27 11:29:29 2006 +0100
     1.2 +++ b/xen/common/kernel.c	Tue Jun 27 11:35:29 2006 +0100
     1.3 @@ -214,7 +214,7 @@ long do_xen_version(int cmd, XEN_GUEST_H
     1.4  
     1.5      case XENVER_pagesize:
     1.6      {
     1.7 -        return (guest_handle_is_null(arg) ? -EINVAL : PAGE_SIZE);
     1.8 +        return (!guest_handle_is_null(arg) ? -EINVAL : PAGE_SIZE);
     1.9      }
    1.10  
    1.11      }