aboutsummaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_files.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-15 21:35:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-15 21:35:18 +0000
commite24f4089720b27bc926d778eff89297ab944e457 (patch)
treebcb726d801a0f2cd87a8f72764e3d049f7d67703 /nuttx/fs/fs_files.c
parent9129fb715b69c0d2ffec2f963f57346bf89bc355 (diff)
downloadpx4-firmware-e24f4089720b27bc926d778eff89297ab944e457.tar.gz
px4-firmware-e24f4089720b27bc926d778eff89297ab944e457.tar.bz2
px4-firmware-e24f4089720b27bc926d778eff89297ab944e457.zip
Mirtoo differences from Konstantin; File system fix from Lorenz Meier
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5360 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_files.c')
-rw-r--r--nuttx/fs/fs_files.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/fs/fs_files.c b/nuttx/fs/fs_files.c
index 425e7c73f..4da2d28a5 100644
--- a/nuttx/fs/fs_files.c
+++ b/nuttx/fs/fs_files.c
@@ -400,6 +400,7 @@ int files_allocate(FAR struct inode *inode, int oflags, off_t pos, int minfd)
list->fl_files[i].f_oflags = oflags;
list->fl_files[i].f_pos = pos;
list->fl_files[i].f_inode = inode;
+ list->fl_files[i].f_priv = NULL;
_files_semgive(list);
return i;
}