X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbootchart%2Fstore.c;h=7f86cfe976c77c7e23621f825582f8960b8aa582;hb=26fefda707e6511733f48da03b281a004dba6abf;hp=f8c97c2324020d88e337ea19d0f99d7ffab9f0a3;hpb=087a30417dd9eca855ef1e22a20093a5674bd915;p=elogind.git diff --git a/src/bootchart/store.c b/src/bootchart/store.c index f8c97c232..7f86cfe97 100644 --- a/src/bootchart/store.c +++ b/src/bootchart/store.c @@ -275,7 +275,7 @@ schedstat_next: pscount++; /* mark our first sample */ - ps->first = ps->sample; + ps->first = ps->last = ps->sample; ps->sample->runtime = atoll(rt); ps->sample->waittime = atoll(wt);