vfs:fix a type mismatch issue and a typo
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
This commit is contained in:
parent
0a8b6404d8
commit
89e5ceb51e
@ -181,7 +181,7 @@ static int file_vioctl(FAR struct file *filep, int req, va_list ap)
|
||||
(unsigned long)(uintptr_t)&geo);
|
||||
if (ret >= 0)
|
||||
{
|
||||
*(FAR blksize_t *)(uintptr_t)arg = geo.geo_nsectors;
|
||||
*(FAR blkcnt_t *)(uintptr_t)arg = geo.geo_nsectors;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -175,7 +175,7 @@ static inline int poll_teardown(FAR struct pollfd *fds, nfds_t nfds,
|
||||
* Name: poll_cleanup
|
||||
*
|
||||
* Description:
|
||||
* Setup the poll operation for each descriptor in the list.
|
||||
* Cleanup the poll operation.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user