From: Tomohiro Kusumi Date: Mon, 8 Aug 2016 17:27:26 +0000 (+0900) Subject: Use char* for pid_file path X-Git-Tag: fio-2.14~49 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=977b959628585fc20cd0c2cc6e309f7f6f219888 Use char* for pid_file path since no function expects this to be void*. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- diff --git a/init.c b/init.c index 048bd5d4..0a6766e3 100644 --- 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;