diff options
Diffstat (limited to 'fs/proc/base.c')
-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 4f5745af8c19..01f7769da8e6 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -581,7 +581,7 @@ out_no_task: | |||
581 | 581 | ||
582 | #ifndef mem_write | 582 | #ifndef mem_write |
583 | /* This is a security hazard */ | 583 | /* This is a security hazard */ |
584 | static ssize_t mem_write(struct file * file, const char * buf, | 584 | static ssize_t mem_write(struct file * file, const char __user *buf, |
585 | size_t count, loff_t *ppos) | 585 | size_t count, loff_t *ppos) |
586 | { | 586 | { |
587 | int copied; | 587 | int copied; |