Make parse.h C++ safe by avoiding "or" keyword
[fio.git] / parse.c
diff --git a/parse.c b/parse.c
index 6121dfcdd7e9efb083ada55173d8cac863549042..e46fc14ef236e8bb59dac9fb448f2d22b92d4e92 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -415,7 +415,7 @@ static int __handle_option(struct fio_option *o, const char *ptr, void *data,
                        if (!strncmp(vp->ival, ptr, str_match_len(vp, ptr))) {
                                ret = 0;
                                if (o->off1)
-                                       val_store(ilp, vp->oval, o->off1, vp->or, data, o);
+                                       val_store(ilp, vp->oval, o->off1, vp->orval, data, o);
                                continue;
                        }
                }