projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b8035
)
Use char* for pid_file path
author
Tomohiro Kusumi
<kusumi.tomohiro@gmail.com>
Mon, 8 Aug 2016 17:27:26 +0000
(
02:27
+0900)
committer
Jens Axboe
<axboe@fb.com>
Mon, 8 Aug 2016 17:31:09 +0000
(11:31 -0600)
since no function expects this to be void*.
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
init.c
patch
|
blob
|
blame
|
history
diff --git
a/init.c
b/init.c
index 048bd5d4fdec3183a37957f49a6d4f185b276977..0a6766e39f1a082dc78a815b307d36d289684ae7 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-2302,7
+2302,7
@@
int parse_cmd_line(int argc, char *argv[], int client_type)
struct thread_data *td = NULL;
int c, ini_idx = 0, lidx, ret = 0, do_exit = 0, exit_val = 0;
char *ostr = cmd_optstr;
-
void
*pid_file = NULL;
+
char
*pid_file = NULL;
void *cur_client = NULL;
int backend = 0;