summaryrefslogtreecommitdiff
path: root/os/os-freebsd.h
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2010-06-24 09:36:11 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-06-24 09:36:11 +0200
commit2fa55e93d8895e0645df3e50baae82d15d9beea4 (patch)
tree80225bc9256822f3e07ecc68364ee5aedaa3248e /os/os-freebsd.h
parentaa5e69b26d16ae4c1680d05b25149f3198036714 (diff)
downloadfio-2fa55e93d8895e0645df3e50baae82d15d9beea4.tar.gz
fio-2fa55e93d8895e0645df3e50baae82d15d9beea4.tar.bz2
Fix FreeBSD warning
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'os/os-freebsd.h')
-rw-r--r--os/os-freebsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/os-freebsd.h b/os/os-freebsd.h
index 3115b605..bb7e9a3b 100644
--- a/os/os-freebsd.h
+++ b/os/os-freebsd.h
@@ -22,6 +22,7 @@ static inline int blockdev_size(int fd, unsigned long long *bytes)
return 0;
}
+ *bytes = 0;
return errno;
}