aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:12:56 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:20 -0500
commit71e72a19bafda97c9e97b089499fdc050e96a631 (patch)
treefdd6ebb4dd37e6aef7c80db2d6a1231fcad9fa3d /block
parent43da3c088c00a1113643abb0c70379140de39dd8 (diff)
rename HOST_BSD to CONFIG_BSD
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block')
-rw-r--r--block/raw-posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 3e1a875325..bdee07f4c8 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -779,7 +779,7 @@ static int64_t raw_getlength(BlockDriverState *bs)
BDRVRawState *s = bs->opaque;
int fd = s->fd;
int64_t size;
-#ifdef HOST_BSD
+#ifdef CONFIG_BSD
struct stat sb;
#ifdef __FreeBSD__
int reopened = 0;
@@ -795,7 +795,7 @@ static int64_t raw_getlength(BlockDriverState *bs)
if (ret < 0)
return ret;
-#ifdef HOST_BSD
+#ifdef CONFIG_BSD
#ifdef __FreeBSD__
again:
#endif