drivers/usbdev/cdcecm.c: Fix an undefined variable in a syslog call

This commit is contained in:
YAMAMOTO Takashi
2020-11-25 16:54:36 +09:00
committed by Xiang Xiao
parent 723f590345
commit 4b740fa13a
+1 -1
View File
@@ -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 */
}