mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
skeleton.c doesn't compile without this patch if ioctls are enabled
This commit is contained in:
committed by
Xiang Xiao
parent
f5374e71f3
commit
f4b77f078b
@@ -955,7 +955,7 @@ static int skel_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