+Thu Feb 7 10:19:12 IST 2008 Mark McLoughlin <markmc@redhat.com>
+
+ * src/xen_internal.c: Don't crash if there's no
+ /sys/hypervisor/capabilities
+
Thu Feb 7 10:16:42 IST 2008 Mark McLoughlin <markmc@redhat.com>
* src/iptables.c: Create directory for saving iptables rules
*/
/* Expecting one line in this file - ignore any more. */
- if (fgets (line, sizeof line, capabilities)) {
+ if ((capabilities) && (fgets (line, sizeof line, capabilities))) {
/* Split the line into tokens. strtok_r is OK here because we "own"
* this buffer. Parse out the features from each token.
*/