projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60377c3
)
libxl.c:return val of libxl_wait_for_memory_target
author
Ayush Ruia
<ayushruia@gmail.com>
Mon, 6 Oct 2014 08:12:26 +0000
(
03:12
-0500)
committer
Ian Campbell
<ian.campbell@citrix.com>
Mon, 6 Oct 2014 13:31:29 +0000
(14:31 +0100)
Fixed the return value of the function libxl_wait_for_memory_target. It was always returning 0 even inthe case of an error.
Signed-off-by: Ayush Ruia <ayushruia@gmail.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl.c
b/tools/libxl/libxl.c
index 3f0a7ffba21ce171d2bd4c08df6ed3f5fca2bee5..9c72df27d988d7a4c8f6058708daa16d72be084d 100644
(file)
--- a/
tools/libxl/libxl.c
+++ b/
tools/libxl/libxl.c
@@
-4764,7
+4764,7
@@
int libxl_wait_for_memory_target(libxl_ctx *ctx, uint32_t domid, int wait_secs)
rc = ERROR_FAIL;
out:
- return
0
;
+ return
rc
;
}
int libxl_get_physinfo(libxl_ctx *ctx, libxl_physinfo *physinfo)