|
|
ac32bf |
From dc811f88b1bd5ac33faa1606c3a3ce4d3bc0b7ed Mon Sep 17 00:00:00 2001
|
|
|
ac32bf |
From: Mauro Carvalho Chehab <mchehab@redhat.com>
|
|
|
ac32bf |
Date: Fri, 31 May 2013 16:40:40 -0300
|
|
|
ac32bf |
Subject: [PATCH 10/32] ras-mc-ctl: Fix the name of the error table data
|
|
|
ac32bf |
|
|
|
ac32bf |
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
|
|
ac32bf |
---
|
|
|
ac32bf |
util/ras-mc-ctl.in | 12 ++++++------
|
|
|
ac32bf |
1 files changed, 6 insertions(+), 6 deletions(-)
|
|
|
ac32bf |
|
|
|
ac32bf |
diff --git a/util/ras-mc-ctl.in b/util/ras-mc-ctl.in
|
|
|
ac32bf |
index 30d3078..48d9b00 100755
|
|
|
ac32bf |
--- a/util/ras-mc-ctl.in
|
|
|
ac32bf |
+++ b/util/ras-mc-ctl.in
|
|
|
ac32bf |
@@ -898,9 +898,9 @@ sub errors
|
|
|
ac32bf |
$out .= "$id $time $count $type error(s): $msg at $label location: $mc:$top:$mid:$low, addr $addr, grain $grain, syndrome $syndrome $detail\n";
|
|
|
ac32bf |
}
|
|
|
ac32bf |
if ($out ne "") {
|
|
|
ac32bf |
- print "PCIe AER events:\n$out\n";
|
|
|
ac32bf |
+ print "Memory controller events:\n$out\n";
|
|
|
ac32bf |
} else {
|
|
|
ac32bf |
- print "No PCIe AER errors.\n\n";
|
|
|
ac32bf |
+ print "No Memory errors.\n\n";
|
|
|
ac32bf |
}
|
|
|
ac32bf |
$query_handle->finish;
|
|
|
ac32bf |
|
|
|
ac32bf |
@@ -914,9 +914,9 @@ sub errors
|
|
|
ac32bf |
$out .= "$id $time $type error: $msg\n";
|
|
|
ac32bf |
}
|
|
|
ac32bf |
if ($out ne "") {
|
|
|
ac32bf |
- print "MCE events:\n$out\n";
|
|
|
ac32bf |
+ print "PCIe AER events:\n$out\n";
|
|
|
ac32bf |
} else {
|
|
|
ac32bf |
- print "No MCE errors.\n\n";
|
|
|
ac32bf |
+ print "No PCIe AER errors.\n\n";
|
|
|
ac32bf |
}
|
|
|
ac32bf |
$query_handle->finish;
|
|
|
ac32bf |
|
|
|
ac32bf |
@@ -952,9 +952,9 @@ sub errors
|
|
|
ac32bf |
$out .= "\n";
|
|
|
ac32bf |
}
|
|
|
ac32bf |
if ($out ne "") {
|
|
|
ac32bf |
- print "Memory controller events:\n$out\n";
|
|
|
ac32bf |
+ print "MCE events:\n$out\n";
|
|
|
ac32bf |
} else {
|
|
|
ac32bf |
- print "No Memory errors.\n\n";
|
|
|
ac32bf |
+ print "No MCE errors.\n\n";
|
|
|
ac32bf |
}
|
|
|
ac32bf |
$query_handle->finish;
|
|
|
ac32bf |
|
|
|
ac32bf |
--
|
|
|
ac32bf |
1.7.1
|
|
|
ac32bf |
|