summaryrefslogtreecommitdiff
path: root/nuttx/fs/procfs/fs_procfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/procfs/fs_procfs.c')
-rw-r--r--nuttx/fs/procfs/fs_procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/procfs/fs_procfs.c b/nuttx/fs/procfs/fs_procfs.c
index f1d98d0a7..9d3602d2e 100644
--- a/nuttx/fs/procfs/fs_procfs.c
+++ b/nuttx/fs/procfs/fs_procfs.c
@@ -558,7 +558,7 @@ static int procfs_readdir(struct inode *mountpt, struct fs_dirent_s *dir)
FAR struct procfs_dir_priv_s *priv;
FAR struct procfs_level0_s *level0;
FAR struct tcb_s *tcb;
- FAR const char *name;
+ FAR const char *name = NULL;
unsigned int index;
irqstate_t flags;
pid_t pid;