George Dunlap
2011-Mar-02 15:50 UTC
[Xen-devel] [PATCH] tools: Missed one when replacing read_exact with RDEXACT macro
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> diff -r f71212f712fd -r 5f585b1e40d4 tools/libxc/xc_domain_restore.c --- a/tools/libxc/xc_domain_restore.c Wed Mar 02 10:31:06 2011 +0000 +++ b/tools/libxc/xc_domain_restore.c Wed Mar 02 15:47:38 2011 +0000 @@ -1165,7 +1165,7 @@ 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; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2011-Mar-03 17:24 UTC
Re: [Xen-devel] [PATCH] tools: Missed one when replacing read_exact with RDEXACT macro
George Dunlap writes ("[Xen-devel] [PATCH] tools: Missed one when replacing read_exact with RDEXACT macro"):> 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> Thanks, Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel