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

[Xen-changelog] [xen-unstable] libxc: Missed one when replacing read_exact with RDEXACT macro



# HG changeset patch
# User George Dunlap <george.dunlap@xxxxxxxxxxxxx>
# Date 1299173067 0
# Node ID 1484494a34458a272dccf2e288f5e1a8c5eddd77
# Parent  e567c2eb56b431d83c9355e4db786a88c10d3522
libxc: Missed one when replacing read_exact with RDEXACT macro

This corrects an error in 21488:dd6bbdc42033.

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r e567c2eb56b4 -r 1484494a3445 tools/libxc/xc_domain_restore.c
--- a/tools/libxc/xc_domain_restore.c   Thu Mar 03 17:11:31 2011 +0000
+++ b/tools/libxc/xc_domain_restore.c   Thu Mar 03 17:24:27 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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