diff --git a/fs/procfs/fs_procfsproc.c b/fs/procfs/fs_procfsproc.c index 47d062af22..f82354326f 100644 --- a/fs/procfs/fs_procfsproc.c +++ b/fs/procfs/fs_procfsproc.c @@ -459,8 +459,8 @@ static ssize_t proc_status(FAR struct proc_file_s *procfile, #else name = ""; #endif - linesize = procfs_snprintf(procfile->line, STATUS_LINELEN, "%-12s%s\n", - "Name:", name); + linesize = procfs_snprintf(procfile->line, STATUS_LINELEN, + "%-12s%.18s\n", "Name:", name); copysize = procfs_memcpy(procfile->line, linesize, buffer, remaining, &offset);