From 51e0c930ca583196bf1075217cff969a0f7e4619 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 15 Nov 2012 21:35:18 +0000 Subject: Mirtoo differences from Konstantin; File system fix from Lorenz Meier git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5360 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/fs/fs_files.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nuttx/fs') 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; } -- cgit v1.2.3