ia64/xen-unstable

changeset 19323:a762162e2fc9

Fix solaris xc_map_foreign_ranges()

Signed-off-by: John Levon <john.levon@sun.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Mar 12 10:56:08 2009 +0000 (2009-03-12)
parents cc9b41a476dc
children efc854626354
files tools/libxc/xc_solaris.c
line diff
     1.1 --- a/tools/libxc/xc_solaris.c	Thu Mar 12 10:55:43 2009 +0000
     1.2 +++ b/tools/libxc/xc_solaris.c	Thu Mar 12 10:56:08 2009 +0000
     1.3 @@ -134,6 +134,8 @@ void *xc_map_foreign_ranges(int xc_handl
     1.4      if (rc)
     1.5          goto ioctl_failed;
     1.6  
     1.7 +    return addr;
     1.8 +
     1.9  ioctl_failed:
    1.10      rc = munmap(addr, size);
    1.11      if (rc == -1)