diff --git a/src/kit/taosdemo/taosdemo.c b/src/kit/taosdemo/taosdemo.c index 859e22a178256bac78cafe2ff7aab560204c638a..2b039c90f9df1b328f9287a55d7a96b272d79e55 100644 --- a/src/kit/taosdemo/taosdemo.c +++ b/src/kit/taosdemo/taosdemo.c @@ -250,7 +250,7 @@ typedef struct DemoArguments { static struct argp argp = {options, parse_opt, 0, 0}; void parse_args(int argc, char *argv[], SDemoArguments *arguments) { - argp_parse(&argp, argc, argv, 0, 0, &arguments); + argp_parse(&argp, argc, argv, 0, 0, arguments); if (arguments->abort) { #ifndef _ALPINE error(10, 0, "ABORTED");