skeleton.c doesn't compile without this patch if ioctls are enabled
This commit is contained in:
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 */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue