skeleton.c doesn't compile without this patch if ioctls are enabled

This commit is contained in:
Jonathan Kimmitt 2023-11-18 20:40:03 +00:00 committed by Xiang Xiao
parent f5374e71f3
commit f4b77f078b
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
}