fs/vfs and fs/inode: Trivial typo fixes gleaned from the fileopen branch.

This commit is contained in:
Gregory Nutt 2018-08-29 16:01:56 -06:00
parent aaa660bae6
commit d88cb93d95
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ int file_detach(int fd, FAR struct file *filep)
filep->f_inode = parent->f_inode;
filep->f_priv = parent->f_priv;
/* Release the file descriptore *without* calling the drive close method
/* Release the file descriptor *without* calling the driver close method
* and without decrementing the inode reference count. That will be done
* in file_close_detached().
*/

View File

@ -89,7 +89,7 @@ int inode_checkflags(FAR struct inode *inode, int oflags)
*
****************************************************************************/
int open(const char *path, int oflags, ...)
int open(FAR const char *path, int oflags, ...)
{
struct inode_search_s desc;
FAR struct file *filep;