projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fio 3.15
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index f2ba1e208e8f1cc44d37490501abb932c6b6ed4b..c9f6198ea63abdfa74248628fbb2ffca36a7ca7b 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-1887,7
+1887,7
@@
static int __parse_jobs_ini(struct thread_data *td,
}
}
}
}
- string = malloc(
4096
);
+ string = malloc(
OPT_LEN_MAX
);
/*
* it's really 256 + small bit, 280 should suffice
/*
* it's really 256 + small bit, 280 should suffice
@@
-1920,7
+1920,7
@@
static int __parse_jobs_ini(struct thread_data *td,
if (is_buf)
p = strsep(&file, "\n");
else
if (is_buf)
p = strsep(&file, "\n");
else
- p = fgets(string,
4096
, f);
+ p = fgets(string,
OPT_LEN_MAX
, f);
if (!p)
break;
}
if (!p)
break;
}
@@
-1989,7
+1989,7
@@
static int __parse_jobs_ini(struct thread_data *td,
if (is_buf)
p = strsep(&file, "\n");
else
if (is_buf)
p = strsep(&file, "\n");
else
- p = fgets(string,
4096
, f);
+ p = fgets(string,
OPT_LEN_MAX
, f);
if (!p)
break;
dprint(FD_PARSE, "%s", p);
if (!p)
break;
dprint(FD_PARSE, "%s", p);