diff --git a/fs/proc/array.c b/fs/proc/array.c index 7a34571203bc46b335b2c03d52e48ef4fde9d4ea..63c95afb561f8e8742118197b0731317ea871463 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -456,7 +456,7 @@ static int do_task_stat(struct task_struct *task, char *buffer, int whole) maj_flt += sig->maj_flt; utime = cputime_add(utime, sig->utime); stime = cputime_add(stime, sig->stime); - gtime += cputime_add(gtime, sig->gtime); + gtime = cputime_add(gtime, sig->gtime); } sid = task_session_nr_ns(task, ns);