* [Qemu-devel] [5231] Make sure to define fd_open when not on Linux
@ 2008-09-15 16:48 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2008-09-15 16:48 UTC (permalink / raw)
To: qemu-devel
Revision: 5231
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5231
Author: aliguori
Date: 2008-09-15 16:48:11 +0000 (Mon, 15 Sep 2008)
Log Message:
-----------
Make sure to define fd_open when not on Linux
My previous commit broke the build. This was spotted by C.W. Betts.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Modified Paths:
--------------
trunk/block-raw-posix.c
Modified: trunk/block-raw-posix.c
===================================================================
--- trunk/block-raw-posix.c 2008-09-15 16:05:16 UTC (rev 5230)
+++ trunk/block-raw-posix.c 2008-09-15 16:48:11 UTC (rev 5231)
@@ -1149,6 +1149,11 @@
}
#else
+static int fd_open(BlockDriverState *bs)
+{
+ return 0;
+}
+
static int raw_is_inserted(BlockDriverState *bs)
{
return 1;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-15 16:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-15 16:48 [Qemu-devel] [5231] Make sure to define fd_open when not on Linux Anthony Liguori
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.