From 5ff172ee1bb8a179c5e5e10b3b5dcb9b2e46babf Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Tue, 14 Aug 2018 08:29:11 -0700 Subject: [PATCH] hello_sock: fix merge error spdk_app_parse_args recently added a new argument, which the recent hello_sock.c patch had not accounted for before getting merged. Signed-off-by: Jim Harris Change-Id: I80e42775d5461102bf7603051b34a959b8cdabd8 Reviewed-on: https://review.gerrithub.io/422310 Chandler-Test-Pool: SPDK Automated Test System Reviewed-by: Dariusz Stojaczyk Reviewed-by: Tomasz Kulasek Tested-by: SPDK CI Jenkins --- examples/sock/hello_world/hello_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/sock/hello_world/hello_sock.c b/examples/sock/hello_world/hello_sock.c index e6025df77..c2aef5e24 100644 --- a/examples/sock/hello_world/hello_sock.c +++ b/examples/sock/hello_world/hello_sock.c @@ -385,7 +385,7 @@ main(int argc, char **argv) opts.config_file = "sock.conf"; opts.shutdown_cb = hello_sock_shutdown_cb; - if ((rc = spdk_app_parse_args(argc, argv, &opts, "H:P:SV", hello_sock_parse_arg, + if ((rc = spdk_app_parse_args(argc, argv, &opts, "H:P:SV", NULL, hello_sock_parse_arg, hello_sock_usage)) != SPDK_APP_PARSE_ARGS_SUCCESS) { exit(rc); }