summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/src/common/up_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z80/src/common/up_exit.c')
-rw-r--r--nuttx/arch/z80/src/common/up_exit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/arch/z80/src/common/up_exit.c b/nuttx/arch/z80/src/common/up_exit.c
index 4a4dba532..b7f5e6243 100644
--- a/nuttx/arch/z80/src/common/up_exit.c
+++ b/nuttx/arch/z80/src/common/up_exit.c
@@ -114,9 +114,13 @@ static void _up_dumponexit(FAR _TCB *tcb, FAR void *arg)
struct file_struct *filep = &tcb->streams->sl_streams[i];
if (filep->fs_filedes >= 0)
{
+#if CONFIG_STDIO_BUFFER_SIZE > 0
lldbg(" fd=%d nbytes=%d\n",
filep->fs_filedes,
filep->fs_bufpos - filep->fs_bufstart);
+#else
+ lldbg(" fd=%d\n", filep->fs_filedes);
+#endif
}
}
}