From: George Dunlap Subject: [PATCH] tools: Missed one when replacing read_exact with RDEXACT macro Date: Wed, 02 Mar 2011 15:50:25 +0000 Message-ID: <5f585b1e40d4566ef548.1299081025@elijah> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: george.dunlap@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: George Dunlap 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;