summaryrefslogtreecommitdiffstats
path: root/lib/Plugins
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-22 17:49:32 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-22 17:49:32 +0100
commiteae3199e4adc0e92a65f48293b1369c1d8c375bc (patch)
tree6937692ac3f8bc461a0960873b51a562224f89b3 /lib/Plugins
parent79330c4f5c372c3d9bfa04faf9c2d3db3c9cf037 (diff)
downloadabrt-eae3199e4adc0e92a65f48293b1369c1d8c375bc.tar.gz
abrt-eae3199e4adc0e92a65f48293b1369c1d8c375bc.tar.xz
abrt-eae3199e4adc0e92a65f48293b1369c1d8c375bc.zip
Kerneloops: be more specific looking for "WARNING:" string
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins')
-rw-r--r--lib/Plugins/KerneloopsSysLog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/KerneloopsSysLog.cpp b/lib/Plugins/KerneloopsSysLog.cpp
index 646ea521..e6de84aa 100644
--- a/lib/Plugins/KerneloopsSysLog.cpp
+++ b/lib/Plugins/KerneloopsSysLog.cpp
@@ -314,10 +314,10 @@ next_line:
/* single oopses are of the same loglevel */
else if (lines_info[i].level != prevlevel)
oopsend = i-1;
- else if (strstr(curline, "Instruction dump::")) /* why "::"? is it a typo? */
+ else if (strstr(curline, "Instruction dump:"))
oopsend = i;
/* if a new oops starts, this one has ended */
- else if (strstr(curline, "WARNING:") && oopsstart != i)
+ else if (strstr(curline, "WARNING: at ") && oopsstart != i) /* WARN_ON() generated messages */
oopsend = i-1;
else if (strstr(curline, "Unable to handle") && oopsstart != i)
oopsend = i-1;