fio: fix copy/paste error in io_ddir.h
authorAndrey Kuzmin <andrey.v.kuzmin@gmail.com>
Fri, 5 Feb 2016 15:14:52 +0000 (08:14 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 5 Feb 2016 15:14:52 +0000 (08:14 -0700)
The last 'write' should be 'wait', to match with DDIR_WAIT.

Signed-off-by: Jens Axboe <axboe@fb.com>
io_ddir.h

index e5eff68..071b036 100644 (file)
--- a/io_ddir.h
+++ b/io_ddir.h
@@ -17,7 +17,7 @@ enum fio_ddir {
 static inline const char *io_ddir_name(enum fio_ddir ddir)
 {
        const char *name[] = { "read", "write", "trim", "sync", "datasync",
-                               "sync_file_range", "write", };
+                               "sync_file_range", "wait", };
 
        if (ddir < DDIR_LAST)
                return name[ddir];