diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-08-02 17:22:22 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-08-02 17:22:22 +0000 |
commit | ac07d5181166fdcf6b9330e60ff267700ef40d74 (patch) | |
tree | 7a54d4e000045ef2eac3fac678f3044b52442cb0 /nuttx/fs/fs_closeblockdriver.c | |
parent | 2b009ee7016b4cb5f06bc9cd25325beecd45ea2b (diff) | |
download | px4-nuttx-ac07d5181166fdcf6b9330e60ff267700ef40d74.tar.gz px4-nuttx-ac07d5181166fdcf6b9330e60ff267700ef40d74.tar.bz2 px4-nuttx-ac07d5181166fdcf6b9330e60ff267700ef40d74.zip |
typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@799 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_closeblockdriver.c')
-rw-r--r-- | nuttx/fs/fs_closeblockdriver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/fs/fs_closeblockdriver.c b/nuttx/fs/fs_closeblockdriver.c index 3370dfeba..62f1e991b 100644 --- a/nuttx/fs/fs_closeblockdriver.c +++ b/nuttx/fs/fs_closeblockdriver.c @@ -75,12 +75,13 @@ int close_blockdriver(FAR struct inode *inode) int ret = 0; /* Assume success */ /* Sanity checks */ - +#ifdef CONFIG_DEBUG if (!inode || !inode->u.i_bops) { ret = -EINVAL; goto errout; } +#endif /* Verify that the inode is a block driver. */ |