[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5231] Make sure to define fd_open when not on Linux
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [5231] Make sure to define fd_open when not on Linux |
Date: |
Mon, 15 Sep 2008 16:48:12 +0000 |
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 <address@hidden>
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5231] Make sure to define fd_open when not on Linux,
Anthony Liguori <=