From 9a90b6535528c3dabbe8d67bb9d3ad21ff8f3648 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Fri, 15 May 2020 08:21:08 +0900 Subject: [PATCH] examples: ftpc: Fix a compile warning for IPv4 only configuration Signed-off-by: Masayuki Ishikawa --- examples/ftpc/ftpc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ftpc/ftpc_main.c b/examples/ftpc/ftpc_main.c index dc6a31c8f..476c6003e 100644 --- a/examples/ftpc/ftpc_main.c +++ b/examples/ftpc/ftpc_main.c @@ -380,7 +380,7 @@ int main(int argc, FAR char *argv[]) if (argc != 2) { -#if ADDR_FAMILY == CONFIG_NET_IPv6 +#if ADDR_FAMILY == AF_INET6 printf("Usage:\n"); printf(" %s xx:xx:xx:xx:xx:xx:xx:xx [pp]\n", argv[0]); printf("Where\n");