Merge branch 'master' of https://github.com/donny372/fio into master
[fio.git] / iolog.c
diff --git a/iolog.c b/iolog.c
index 4af10da3cddebb112d042d8c9040e435ec9545b0..7f21be51942024e7a2daf199770082e77291b136 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -620,6 +620,8 @@ static bool init_iolog_read(struct thread_data *td)
                fd = open_socket(fname);
                if (fd >= 0)
                        f = fdopen(fd, "r");
+       } else if (!strcmp(fname, "-")) {
+               f = stdin;
        } else
                f = fopen(fname, "r");