Use char* for pid_file path
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 8 Aug 2016 17:27:26 +0000 (02:27 +0900)
committerJens 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

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;