mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
arch/arm/src/lpc17xx_40xx/lpc17_40_ethernet.c: Fix an undeclared variable
This commit is contained in:
committed by
Xiang Xiao
parent
f1ffb57f3c
commit
916091cbf0
@@ -2231,7 +2231,7 @@ static int lpc17_40_eth_ioctl(struct net_driver_s *dev, int cmd,
|
||||
#endif /* ifdef CONFIG_NETDEV_PHY_IOCTL */
|
||||
|
||||
default:
|
||||
nerr("ERROR: Unrecognized IOCTL command: %d\n", command);
|
||||
nerr("ERROR: Unrecognized IOCTL command: %d\n", cmd);
|
||||
ret = -ENOTTY; /* Special return value for this case */
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user