projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Warning fixes
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 91699777e239ee0a04c99f8fdd5fdd52a0a1f5fa..08429c4b027b53e2b1c18b017d28e89c267145b2 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-19,7
+19,7
@@
#include "smalloc.h"
#include "filehash.h"
#include "smalloc.h"
#include "filehash.h"
-static char fio_version_string[] = "fio 1.2
1
";
+static char fio_version_string[] = "fio 1.2
2-rc2
";
#define FIO_RANDSEED (0xb1899bedUL)
#define FIO_RANDSEED (0xb1899bedUL)
@@
-637,6
+637,7
@@
static int parse_jobs_ini(char *file, int stonewall_flag)
alloc_opts = 8;
opts = malloc(sizeof(char *) * alloc_opts);
alloc_opts = 8;
opts = malloc(sizeof(char *) * alloc_opts);
+ num_opts = 0;
stonewall = stonewall_flag;
do {
stonewall = stonewall_flag;
do {
@@
-877,7
+878,7
@@
struct debug_level debug_levels[] = {
{ .name = "parse", .shift = FD_PARSE },
{ .name = "diskutil", .shift = FD_DISKUTIL },
{ .name = "job", .shift = FD_JOB },
{ .name = "parse", .shift = FD_PARSE },
{ .name = "diskutil", .shift = FD_DISKUTIL },
{ .name = "job", .shift = FD_JOB },
- { },
+ {
.name = NULL,
},
};
static int set_debug(const char *string)
};
static int set_debug(const char *string)