From: George Dunlap Date: Thu, 3 Mar 2011 17:24:27 +0000 (+0000) Subject: libxc: Missed one when replacing read_exact with RDEXACT macro X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=aa6e4a53f6145fcd49146e488cdda906b97e4d1d;p=people%2Ftklengyel%2Fxen.git libxc: Missed one when replacing read_exact with RDEXACT macro This corrects an error in 21488:dd6bbdc42033. Signed-off-by: George Dunlap Acked-by: Ian Jackson Committed-by: Ian Jackson --- diff --git a/tools/libxc/xc_domain_restore.c b/tools/libxc/xc_domain_restore.c index 34f97b617d..43e6c52e68 100644 --- 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;