From 72313301e23f9c2de969fb64b9a0f67bb4c284df Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Tue, 13 Sep 2022 15:30:37 -0300 Subject: [PATCH] net/w5500: Fix small typo --- drivers/net/w5500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/w5500.c b/drivers/net/w5500.c index 4c0cf76cea..74fd8491f8 100644 --- a/drivers/net/w5500.c +++ b/drivers/net/w5500.c @@ -2134,7 +2134,7 @@ static int w5500_ioctl(FAR struct net_driver_s *dev, int cmd, /* Add cases here to support the IOCTL commands */ default: - nerr("ERROR: Unrecognized IOCTL command: %d\n", command); + nerr("ERROR: Unrecognized IOCTL command: %d\n", cmd); return -ENOTTY; /* Special return value for this case */ }