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 3115b60..bb7e9a3 100644 (file)
@@ -22,6 +22,7 @@ static inline int blockdev_size(int fd, unsigned long long *bytes)
                return 0;
        }
 
+       *bytes = 0;
        return errno;
 }