[PATCH] Abort early for bad option given to --cmdhelp
[fio.git] / os-solaris.h
index e7f4e4ee22b35fa36aab2174fb2d2e463f09f41d..898da18e988d205004f8826c8ba08d6768ac2352 100644 (file)
@@ -19,7 +19,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)