server: initial support for command line passing
[fio.git] / options.c
index 5252477b6e0756888d6cc3bd42b8dcdc5b492e4b..1914037583fb24163936e18aac7b4473aed87728 100644 (file)
--- a/options.c
+++ b/options.c
@@ -829,9 +829,6 @@ static int kb_base_verify(struct fio_option *o, void *data)
        return 0;
 }
 
        return 0;
 }
 
-#define __stringify_1(x)       #x
-#define __stringify(x)         __stringify_1(x)
-
 /*
  * Map of job/command line options
  */
 /*
  * Map of job/command line options
  */
@@ -1946,7 +1943,7 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                .type   = FIO_OPT_INT,
                .off1   = td_var_offset(hugepage_size),
                .help   = "When using hugepages, specify size of each page",
                .type   = FIO_OPT_INT,
                .off1   = td_var_offset(hugepage_size),
                .help   = "When using hugepages, specify size of each page",
-               .def    = __stringify(FIO_HUGE_PAGE),
+               .def    = __fio_stringify(FIO_HUGE_PAGE),
        },
        {
                .name   = "group_reporting",
        },
        {
                .name   = "group_reporting",