Blame SOURCES/0010-ras-mc-ctl-Fix-the-name-of-the-error-table-data.patch

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