projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa5e69b
)
Fix FreeBSD warning
author
Jens Axboe
<jaxboe@fusionio.com>
Thu, 24 Jun 2010 07:36:11 +0000
(09:36 +0200)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/os/os-freebsd.h
b/os/os-freebsd.h
index 3115b605064bc7a55b5d162ab59c872475f4c8ee..bb7e9a3b0697a0d1c0eb25858126677858d1355f 100644
(file)
--- 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;
}