Fix FreeBSD warning
authorJens Axboe <jaxboe@fusionio.com>
Thu, 24 Jun 2010 07:36:11 +0000 (09:36 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 24 Jun 2010 07:36:11 +0000 (09:36 +0200)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
os/os-freebsd.h

index 3115b605064bc7a55b5d162ab59c872475f4c8ee..bb7e9a3b0697a0d1c0eb25858126677858d1355f 100644 (file)
@@ -22,6 +22,7 @@ static inline int blockdev_size(int fd, unsigned long long *bytes)
                return 0;
        }
 
+       *bytes = 0;
        return errno;
 }