More fio.h cleanups
[fio.git] / filesetup.c
index 7ed47a25b5846108125e1028f30fa51d9cb87425..c902bdf7237f9896cd0577605a1211469225d99a 100644 (file)
 
 static int root_warn;
 
 
 static int root_warn;
 
+static inline void clear_error(struct thread_data *td)
+{
+       td->error = 0;
+       td->verror[0] = '\0';
+}
+
 /*
  * Leaves f->fd open on success, caller must close
  */
 /*
  * Leaves f->fd open on success, caller must close
  */