Fix compile time errors for skeleton_external ioengine
[fio.git] / engines / skeleton_external.c
index 5d6a9ed815104590d5489be289378f1b4e31a2cb..4bebcc45a9d39fa857233c86cc9a3b6264d88423 100644 (file)
@@ -109,11 +109,11 @@ static void fio_skeleton_cleanup(struct thread_data *td)
 
 /*
  * Hook for opening the given file. Unless the engine has special
- * needs, it usually just provides generic_file_open() as the handler.
+ * needs, it usually just provides generic_open_file() as the handler.
  */
 static int fio_skeleton_open(struct thread_data *td, struct fio_file *f)
 {
-       return generic_file_open(td, f);
+       return generic_open_file(td, f);
 }
 
 /*
@@ -121,7 +121,7 @@ static int fio_skeleton_open(struct thread_data *td, struct fio_file *f)
  */
 static int fio_skeleton_close(struct thread_data *td, struct fio_file *f)
 {
-       generic_file_close(td, f);
+       return generic_close_file(td, f);
 }
 
 /*