diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-21 08:20:25 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-21 08:20:25 -0600 |
commit | 187c8ccafca5163c8e404e956632c09c0f3dbd6e (patch) | |
tree | 67868d3150a51b64b25b17ffc4027908596099a2 /nuttx/fs | |
parent | 90d6968f87a3ef65dd41029e9bb31bf0a8b7dfeb (diff) | |
download | px4-nuttx-187c8ccafca5163c8e404e956632c09c0f3dbd6e.tar.gz px4-nuttx-187c8ccafca5163c8e404e956632c09c0f3dbd6e.tar.bz2 px4-nuttx-187c8ccafca5163c8e404e956632c09c0f3dbd6e.zip |
apps/examples/bridge: Add host-side test driver
Diffstat (limited to 'nuttx/fs')
-rw-r--r-- | nuttx/fs/vfs/fs_poll.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/fs/vfs/fs_poll.c b/nuttx/fs/vfs/fs_poll.c index a7fd5ed62..d968defb6 100644 --- a/nuttx/fs/vfs/fs_poll.c +++ b/nuttx/fs/vfs/fs_poll.c @@ -346,6 +346,8 @@ int poll(FAR struct pollfd *fds, nfds_t nfds, int timeout) } else { + /* EINTR is the only other error expected in normal operation */ + ret = -err; } } |