* [Qemu-devel] [6331] qemu-img: Fix type of getopt return value (Kevin Wolf)
@ 2009-01-15 21:42 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-01-15 21:42 UTC (permalink / raw)
To: qemu-devel
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 <kwolf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Modified Paths:
--------------
trunk/qemu-img.c
Modified: trunk/qemu-img.c
===================================================================
--- trunk/qemu-img.c 2009-01-15 21:39:41 UTC (rev 6330)
+++ trunk/qemu-img.c 2009-01-15 21:42:12 UTC (rev 6331)
@@ -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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-15 21:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 21:42 [Qemu-devel] [6331] qemu-img: Fix type of getopt return value (Kevin Wolf) Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).