From d88cb93d956676a8449af8bb5e23212c760fb632 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 29 Aug 2018 16:01:56 -0600 Subject: [PATCH] fs/vfs and fs/inode: Trivial typo fixes gleaned from the fileopen branch. --- fs/inode/fs_filedetach.c | 2 +- fs/vfs/fs_open.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/inode/fs_filedetach.c b/fs/inode/fs_filedetach.c index 96306dde7c..23ed5d2792 100644 --- a/fs/inode/fs_filedetach.c +++ b/fs/inode/fs_filedetach.c @@ -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(). */ diff --git a/fs/vfs/fs_open.c b/fs/vfs/fs_open.c index e5e43bff19..6016611908 100644 --- a/fs/vfs/fs_open.c +++ b/fs/vfs/fs_open.c @@ -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;