mirror of https://github.com/xemu-project/xemu.git
qemu-img: Fix type of getopt return value (Kevin Wolf)
getopt doesn't return a char but an int. Signed-off-by: Kevin Wolf <kwolf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6331 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
02082dc9ec
commit
40a4539e20
|
@ -751,8 +751,7 @@ static void img_snapshot(int argc, char **argv)
|
|||
BlockDriverState *bs;
|
||||
QEMUSnapshotInfo sn;
|
||||
char *filename, *snapshot_name = NULL;
|
||||
char c;
|
||||
int ret;
|
||||
int c, ret;
|
||||
int action = 0;
|
||||
qemu_timeval tv;
|
||||
|
||||
|
|
Loading…
Reference in New Issue