[6331] qemu-img: Fix type of getopt return value (Kevin Wolf)
Revision: 6331
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6331 Author: aliguori Date: 2009-01-15 21:42:12 +0000 (Thu, 15 Jan 2009)
Log Message:
-----------
qemu-img: Fix type of getopt return value (Kevin Wolf)
getopt doesn't return a char but an int.
Signed-off-by Kevin Wolf <[email protected]>
Signed-off-by Anthony Liguori <[email protected]>
Modified Paths:
--------------
trunk/qemu-img.c
Modified: trunk/qemu-img.c
===================================================================
qemu-img.c +1 -2
@@ -751,8 +751,7 @@BlockDriverState *bs;QEMUSnapshotInfo sn;char *filename, *snapshot_name =NULL ; -char c; -int ret; +int c, ret;int action =0 ;qemu_timeval tv;