Makefile: libdir is not used anymore
[fio.git] / os-freebsd.h
index 6a4c11b634aa064ba37335b8e78f7c01858b9d98..01c5ce917b57d9501774cd80d8a84e82b6df6b35 100644 (file)
@@ -21,7 +21,12 @@ typedef unsigned int os_random_state_t;
  */
 static inline int blockdev_size(int fd, unsigned long long *bytes)
 {
-       return 1;
+       return EINVAL;
+}
+
+static inline int blockdev_invalidate_cache(int fd)
+{
+       return EINVAL;
 }
 
 static inline unsigned long long os_phys_mem(void)