diff options
-rw-r--r-- | kernel/cpuset.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 28176d083f7b..b9342f90d28f 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -995,7 +995,6 @@ static ssize_t cpuset_common_file_read(struct file *file, char __user *buf, goto out; } *s++ = '\n'; - *s = '\0'; retval = simple_read_from_buffer(buf, nbytes, ppos, page, s - page); out: |