diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index ab9a034c4a17..93474a7935ae 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -771,7 +771,7 @@ sched_feat_write(struct file *filp, const char __user *ubuf, | |||
771 | if (!sched_feat_names[i]) | 771 | if (!sched_feat_names[i]) |
772 | return -EINVAL; | 772 | return -EINVAL; |
773 | 773 | ||
774 | filp->f_pos += cnt; | 774 | *ppos += cnt; |
775 | 775 | ||
776 | return cnt; | 776 | return cnt; |
777 | } | 777 | } |