mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
drivers/usbdev/cdcecm.c: Fix an undefined variable in a syslog call
This commit is contained in:
committed by
Xiang Xiao
parent
723f590345
commit
4b740fa13a
@@ -1076,7 +1076,7 @@ static int cdcecm_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 */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user