diff options
author | Andi Kleen <ak@linux.intel.com> | 2010-04-11 19:14:55 +0200 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2010-04-11 19:14:55 +0200 |
commit | b3e244d0d6b02615bf2e5552e8c1ad5d4337187c (patch) | |
tree | 3191cc3388a28197bddb1ba4ddbe98811822adf7 | |
parent | 030c2decfe5a440045ccdb24da202f5a53d00614 (diff) | |
download | mce-test-b3e244d0d6b02615bf2e5552e8c1ad5d4337187c.tar.gz |
tinjpage: Reset failure counter in child
This way the child won't fail if there were already other
errors.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r-- | tsrc/tinjpage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tsrc/tinjpage.c b/tsrc/tinjpage.c index 394cc28..a9d7db5 100644 --- a/tsrc/tinjpage.c +++ b/tsrc/tinjpage.c @@ -642,6 +642,8 @@ static void do_shared(int shared_mode) } if (!pid) { + failure = 0; + if (early_kill) if (get_semaphore(sem_id, &sembuffer)) err("get_semaphore"); |