That way we can print out the header if we are sure the
hypervisor has been compiled with Xen Livepatching.
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
return rc;
}
- fprintf(stdout," ID | status\n"
- "----------------------------------------+------------\n");
do {
done = 0;
/* The memset is done to catch errors. */
idx, left, errno, strerror(errno));
break;
}
+ if ( !idx )
+ fprintf(stdout," ID | status\n"
+ "----------------------------------------+------------\n");
+
for ( i = 0; i < done; i++ )
{
unsigned int j;