projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3860f61
)
libxc: Missed one when replacing read_exact with RDEXACT macro
author
George Dunlap
<george.dunlap@eu.citrix.com>
Thu, 3 Mar 2011 17:24:27 +0000
(17:24 +0000)
committer
George Dunlap
<george.dunlap@eu.citrix.com>
Thu, 3 Mar 2011 17:24:27 +0000
(17:24 +0000)
This corrects an error in 21488:
dd6bbdc42033
.
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_domain_restore.c
patch
|
blob
|
history
diff --git
a/tools/libxc/xc_domain_restore.c
b/tools/libxc/xc_domain_restore.c
index 34f97b617d251edba1bf28361940381899e24cb8..43e6c52e68aa944271d2bd5e73b261f4c32136bb 100644
(file)
--- a/
tools/libxc/xc_domain_restore.c
+++ b/
tools/libxc/xc_domain_restore.c
@@
-1165,7
+1165,7
@@
int xc_domain_restore(xc_interface *xch, int io_fd, uint32_t dom,
goto out;
}
- if (
read_exact
(io_fd, &dinfo->p2m_size, sizeof(unsigned long)) )
+ if (
RDEXACT
(io_fd, &dinfo->p2m_size, sizeof(unsigned long)) )
{
PERROR("read: p2m_size");
goto out;