aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/fd.c')
-rw-r--r--fs/proc/fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/fd.c b/fs/proc/fd.c
index 96fc70225e54..6b80cd1e419a 100644
--- a/fs/proc/fd.c
+++ b/fs/proc/fd.c
@@ -236,7 +236,7 @@ static int proc_readfd_common(struct file *file, struct dir_context *ctx,
236 for (fd = ctx->pos - 2; 236 for (fd = ctx->pos - 2;
237 fd < files_fdtable(files)->max_fds; 237 fd < files_fdtable(files)->max_fds;
238 fd++, ctx->pos++) { 238 fd++, ctx->pos++) {
239 char name[PROC_NUMBUF]; 239 char name[10 + 1];
240 int len; 240 int len;
241 241
242 if (!fcheck_files(files, fd)) 242 if (!fcheck_files(files, fd))