[PATCH] Final FreeBSD compile fixups
[fio.git] / init.c
diff --git a/init.c b/init.c
index 1bd79e276b2a91bebe1e156e388e1f7f1ef23bb3..2c6c8204213ffd6030633aeddd52a9e80d3bd559 100644 (file)
--- a/init.c
+++ b/init.c
@@ -667,10 +667,11 @@ int parse_jobs_ini(char *file)
                                fprintf(stderr, "io priorities not available\n");
                                ret = 1;
                                break;
                                fprintf(stderr, "io priorities not available\n");
                                ret = 1;
                                break;
-#endif
+#else
                                td->ioprio |= prioclass << IOPRIO_CLASS_SHIFT;
                                fgetpos(f, &off);
                                continue;
                                td->ioprio |= prioclass << IOPRIO_CLASS_SHIFT;
                                fgetpos(f, &off);
                                continue;
+#endif
                        }
                        if (!check_int(p, "direct", &td->odirect)) {
                                fgetpos(f, &off);
                        }
                        if (!check_int(p, "direct", &td->odirect)) {
                                fgetpos(f, &off);