From 14d2342d9e4bad6594269435cfaca9df079701a8 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 20 Nov 2008 14:13:04 +0000 Subject: [PATCH] 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 --- fs/fs_poll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/fs_poll.c b/fs/fs_poll.c index fb0600f9d3..c9b418453b 100644 --- a/fs/fs_poll.c +++ b/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 */