diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2018-04-19 13:30:57 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2018-04-19 13:30:57 +1000 |
commit | 6c2db30cee55dad6872c51d087872314ea1b6e0a (patch) | |
tree | 29817f8bc5ad3861f8729c80f8b7b213e597fb64 /fs/proc/loadavg.c | |
parent | 252c5f39268c0ec2f5ce68f0c0d53e84d4317984 (diff) | |
parent | fdb1a3b69d1b9ef528b8a728682499e3dcd7719d (diff) | |
download | linux-next-6c2db30cee55dad6872c51d087872314ea1b6e0a.tar.gz |
Merge branch 'akpm-current/current'
Diffstat (limited to 'fs/proc/loadavg.c')
-rw-r--r-- | fs/proc/loadavg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/loadavg.c b/fs/proc/loadavg.c index a000d7547479..b572cc865b92 100644 --- a/fs/proc/loadavg.c +++ b/fs/proc/loadavg.c @@ -24,7 +24,7 @@ static int loadavg_proc_show(struct seq_file *m, void *v) LOAD_INT(avnrun[1]), LOAD_FRAC(avnrun[1]), LOAD_INT(avnrun[2]), LOAD_FRAC(avnrun[2]), nr_running(), nr_threads, - idr_get_cursor(&task_active_pid_ns(current)->idr)); + idr_get_cursor(&task_active_pid_ns(current)->idr) - 1); return 0; } |