From 977b959628585fc20cd0c2cc6e309f7f6f219888 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Tue, 9 Aug 2016 02:27:26 +0900 Subject: [PATCH] Use char* for pid_file path since no function expects this to be void*. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1