Mailing List Archive

[xen-unstable] libxc: Missed one when replacing read_exact with RDEXACT macro
# HG changeset patch
# User George Dunlap <george.dunlap@eu.citrix.com>
# 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@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
---


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