diff options
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index cc6ea2329e71..beaa0ce3b82e 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -3082,7 +3082,7 @@ static int proc_task_readdir(struct file * filp, void * dirent, filldir_t filldi | |||
3082 | goto out_no_task; | 3082 | goto out_no_task; |
3083 | retval = 0; | 3083 | retval = 0; |
3084 | 3084 | ||
3085 | switch (filp->f_pos) { | 3085 | switch ((unsigned long)filp->f_pos) { |
3086 | case 0: | 3086 | case 0: |
3087 | ino = inode->i_ino; | 3087 | ino = inode->i_ino; |
3088 | if (filldir(dirent, ".", 1, filp->f_pos, ino, DT_DIR) < 0) | 3088 | if (filldir(dirent, ".", 1, filp->f_pos, ino, DT_DIR) < 0) |