fs/vfs and fs/inode: Trivial typo fixes gleaned from the fileopen branch.
This commit is contained in:
parent
aaa660bae6
commit
d88cb93d95
|
@ -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().
|
||||
*/
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue