diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-20 14:13:04 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-20 14:13:04 +0000 |
commit | f4f6f592170662f664998c9a1ae938bda35cf8d9 (patch) | |
tree | a2dbda68f311435ef3dc2a8acde02ff338a397c7 /nuttx/fs | |
parent | 04906cffab48ae6bd785407e74701ac933ddfe37 (diff) | |
download | px4-nuttx-f4f6f592170662f664998c9a1ae938bda35cf8d9.tar.gz px4-nuttx-f4f6f592170662f664998c9a1ae938bda35cf8d9.tar.bz2 px4-nuttx-f4f6f592170662f664998c9a1ae938bda35cf8d9.zip |
Make sure the private data is initially NULL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1293 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs')
-rw-r--r-- | nuttx/fs/fs_poll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/fs/fs_poll.c b/nuttx/fs/fs_poll.c index fb0600f9d..c9b418453 100644 --- a/nuttx/fs/fs_poll.c +++ b/nuttx/fs/fs_poll.c @@ -165,6 +165,7 @@ static inline int poll_setup(FAR struct pollfd *fds, nfds_t nfds, sem_t *sem) fds[i].sem = sem; fds[i].revents = 0; + fds[i].private = NULL; /* Set up the poll */ |