From 4aa1464d42c62e8cbff4669f01f53f0425c287e3 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 30 Aug 2012 20:09:16 +0100 Subject: launch: appliance: app.virtio_scsi must not be bool. This is used to store values 0..3, so it mustn't be a bool. Ooops. RHEL 5's gcc revealed this bug. --- src/guestfs-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index b2f75184..7c331f9a 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -282,7 +282,7 @@ struct guestfs_h char **cmdline; /* Only used in child, does not need freeing. */ size_t cmdline_size; - bool virtio_scsi; /* See function qemu_supports_virtio_scsi */ + int virtio_scsi; /* See function qemu_supports_virtio_scsi */ } app; struct { /* Used only by src/launch-libvirt.c. */ -- cgit