projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a5396d
)
Fix solaris xc_map_foreign_ranges()
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 12 Mar 2009 10:56:08 +0000
(10:56 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 12 Mar 2009 10:56:08 +0000
(10:56 +0000)
Signed-off-by: John Levon <john.levon@sun.com>
tools/libxc/xc_solaris.c
patch
|
blob
|
history
diff --git
a/tools/libxc/xc_solaris.c
b/tools/libxc/xc_solaris.c
index f88a92890648d67996270c63a419f673e0041982..d32a53755096d8ed34358a70397382b3e16ad2b3 100644
(file)
--- a/
tools/libxc/xc_solaris.c
+++ b/
tools/libxc/xc_solaris.c
@@
-134,6
+134,8
@@
void *xc_map_foreign_ranges(int xc_handle, uint32_t dom,
if (rc)
goto ioctl_failed;
+ return addr;
+
ioctl_failed:
rc = munmap(addr, size);
if (rc == -1)