diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 28176d083f7baadca422dfd510fdd7dbfd892c00..b9342f90d28faeeac5ad2137508de4c2b9b6cd35 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: