net/w5500: Fix small typo

This commit is contained in:
Alan Carvalho de Assis 2022-09-13 15:30:37 -03:00 committed by hartmannathan
parent 1913163c64
commit 72313301e2
1 changed files with 1 additions and 1 deletions

View File

@ -2134,7 +2134,7 @@ static int w5500_ioctl(FAR struct net_driver_s *dev, int cmd,
/* Add cases here to support the IOCTL commands */ /* Add cases here to support the IOCTL commands */
default: 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 */ return -ENOTTY; /* Special return value for this case */
} }