Skip to contentSkip to conversation

tools: Missed one when replacing read_exact with RDEXACT macro

PATCH In review George Dunlap 2 participants 2 messages Mar 2, 2011 – Mar 3, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: Missed one when replacing read_exact with RDEXACT macro

tools/libxc/xc_domain_restore.c +1 -1
diff -r f71212f712fd -r 5f585b1e40d4 tools/libxc/xc_domain_restore.c
@@ -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;