[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] tools: Missed one when replacing read_exact with RDEXACT macro



Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.