X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbootchart%2Fstore.c;h=7f86cfe976c77c7e23621f825582f8960b8aa582;hb=0c6a3c888abd720b5ab28162d1ba4eadffde5272;hp=b2afb8d13b65b99dd3ccdf9dad245149848bca60;hpb=8dfb6e718d621a5115bd3b8e7e826195dc6bfe14;p=elogind.git diff --git a/src/bootchart/store.c b/src/bootchart/store.c old mode 100755 new mode 100644 index b2afb8d13..7f86cfe97 --- a/src/bootchart/store.c +++ b/src/bootchart/store.c @@ -3,7 +3,7 @@ /*** This file is part of systemd. - Copyright (C) 2009-2013 Intel Coproration + Copyright (C) 2009-2013 Intel Corporation Authors: Auke Kok @@ -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);