examples: ftpc: Fix a compile warning for IPv4 only configuration

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-05-15 08:21:08 +09:00 committed by patacongo
parent cc2ac7452c
commit 9a90b65355

View File

@ -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");