[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Fix solaris xc_map_foreign_ranges()
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1236855368 0 # Node ID a762162e2fc9b4d52bd48efab88bfac1346410c9 # Parent cc9b41a476dc62149d7a385aad70ce6e221e928f Fix solaris xc_map_foreign_ranges() Signed-off-by: John Levon <john.levon@xxxxxxx> --- tools/libxc/xc_solaris.c | 2 ++ 1 files changed, 2 insertions(+) diff -r cc9b41a476dc -r a762162e2fc9 tools/libxc/xc_solaris.c --- a/tools/libxc/xc_solaris.c Thu Mar 12 10:55:43 2009 +0000 +++ b/tools/libxc/xc_solaris.c Thu Mar 12 10:56:08 2009 +0000 @@ -134,6 +134,8 @@ void *xc_map_foreign_ranges(int xc_handl if (rc) goto ioctl_failed; + return addr; + ioctl_failed: rc = munmap(addr, size); if (rc == -1) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |