diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/android/binder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c index b62cd2aae874..39871da7ef91 100644 --- a/drivers/staging/android/binder.c +++ b/drivers/staging/android/binder.c | |||
@@ -2776,6 +2776,7 @@ static int binder_open(struct inode *nodp, struct file *filp) | |||
2776 | if (binder_proc_dir_entry_proc) { | 2776 | if (binder_proc_dir_entry_proc) { |
2777 | char strbuf[11]; | 2777 | char strbuf[11]; |
2778 | snprintf(strbuf, sizeof(strbuf), "%u", proc->pid); | 2778 | snprintf(strbuf, sizeof(strbuf), "%u", proc->pid); |
2779 | remove_proc_entry(strbuf, binder_proc_dir_entry_proc); | ||
2779 | create_proc_read_entry(strbuf, S_IRUGO, binder_proc_dir_entry_proc, binder_read_proc_proc, proc); | 2780 | create_proc_read_entry(strbuf, S_IRUGO, binder_proc_dir_entry_proc, binder_read_proc_proc, proc); |
2780 | } | 2781 | } |
2781 | 2782 | ||