summary refs log tree commit diff stats
path: root/hw/scsi-disk.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2011-01-17 19:31:26 +0100
committerKevin Wolf <kwolf@redhat.com>2011-01-24 16:49:49 +0100
commit483848540557aef6af08adbe3ef8201b961220d5 (patch)
treed610f1fc630b132f8985f99ec5cf0bd1348ee4b5 /hw/scsi-disk.c
parent77358b59f6f3ef571fb2262f5f6216e179d07ecb (diff)
downloadfocaccia-qemu-483848540557aef6af08adbe3ef8201b961220d5.tar.gz
focaccia-qemu-483848540557aef6af08adbe3ef8201b961220d5.zip
blockdev: Fix error message for invalid -drive CHS
When cyls, heads or secs are out of range, the error message prints
buf, which points to the value of option "if".  Bogus, may even be
null.  Drop that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions