summaryrefslogtreecommitdiffstats
path: root/fs/proc/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r--fs/proc/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index f5ed9512d193..511b279ec69c 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -456,7 +456,7 @@ static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns,
456 struct pid *pid, struct task_struct *task) 456 struct pid *pid, struct task_struct *task)
457{ 457{
458 if (unlikely(!sched_info_on())) 458 if (unlikely(!sched_info_on()))
459 seq_printf(m, "0 0 0\n"); 459 seq_puts(m, "0 0 0\n");
460 else 460 else
461 seq_printf(m, "%llu %llu %lu\n", 461 seq_printf(m, "%llu %llu %lu\n",
462 (unsigned long long)task->se.sum_exec_runtime, 462 (unsigned long long)task->se.sum_exec_runtime,
@@ -3161,7 +3161,7 @@ static struct dentry *proc_pid_instantiate(struct dentry * dentry,
3161 return d_splice_alias(inode, dentry); 3161 return d_splice_alias(inode, dentry);
3162} 3162}
3163 3163
3164struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, unsigned int flags) 3164struct dentry *proc_pid_lookup(struct dentry *dentry, unsigned int flags)
3165{ 3165{
3166 struct task_struct *task; 3166 struct task_struct *task;
3167 unsigned tgid; 3167 unsigned tgid;