diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-09-28 16:50:07 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-09-28 16:50:07 -0600 |
commit | 4c24c7c4a741eaeffc76339f07076cdad7a36c56 (patch) | |
tree | 337a94000f0e849884e81e8ac2ee188bf0a38179 /nuttx/arch/mips/src/common | |
parent | e735773fe5ea269b43dbecb246cec846b3a0368e (diff) | |
download | px4-nuttx-4c24c7c4a741eaeffc76339f07076cdad7a36c56.tar.gz px4-nuttx-4c24c7c4a741eaeffc76339f07076cdad7a36c56.tar.bz2 px4-nuttx-4c24c7c4a741eaeffc76339f07076cdad7a36c56.zip |
Clean up some naming: fd vs. fildes vs. filedes and filep vs filp
Diffstat (limited to 'nuttx/arch/mips/src/common')
-rw-r--r-- | nuttx/arch/mips/src/common/up_exit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/mips/src/common/up_exit.c b/nuttx/arch/mips/src/common/up_exit.c index 974bdc613..41fe57a6d 100644 --- a/nuttx/arch/mips/src/common/up_exit.c +++ b/nuttx/arch/mips/src/common/up_exit.c @@ -106,14 +106,14 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) for (i = 0; i < CONFIG_NFILE_STREAMS; i++) { struct file_struct *filep = &streamlist->sl_streams[i]; - if (filep->fs_filedes >= 0) + if (filep->fs_fd >= 0) { #if CONFIG_STDIO_BUFFER_SIZE > 0 sdbg(" fd=%d nbytes=%d\n", - filep->fs_filedes, + filep->fs_fd, filep->fs_bufpos - filep->fs_bufstart); #else - sdbg(" fd=%d\n", filep->fs_filedes); + sdbg(" fd=%d\n", filep->fs_fd); #endif } } |