summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsScanner.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 14:27:34 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 14:27:34 +0100
commit0e0aa3788dc3f2bf91f566fee6b695d0cd9939f4 (patch)
tree96f9e1fb64b8a9164b033b3f30d8c504b5b36a92 /lib/Plugins/KerneloopsScanner.cpp
parentfd0d2cbd24a70089f292feae2dd091b1dd693dfa (diff)
downloadabrt-0e0aa3788dc3f2bf91f566fee6b695d0cd9939f4.tar.gz
abrt-0e0aa3788dc3f2bf91f566fee6b695d0cd9939f4.tar.xz
abrt-0e0aa3788dc3f2bf91f566fee6b695d0cd9939f4.zip
make plugin descriptions more consistent in style
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/KerneloopsScanner.cpp')
-rw-r--r--lib/Plugins/KerneloopsScanner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/KerneloopsScanner.cpp b/lib/Plugins/KerneloopsScanner.cpp
index 8c8cd4b9..3831f9e6 100644
--- a/lib/Plugins/KerneloopsScanner.cpp
+++ b/lib/Plugins/KerneloopsScanner.cpp
@@ -163,7 +163,7 @@ int CKerneloopsScanner::ScanSysLogFile(const char *filename)
*/
sz = statb.st_size + 1024;
if (statb.st_size > (32*1024*1024 - 1024)) {
- xlseek(fd, -(32*1024*1024 - 1024), SEEK_END);
+ xlseek(fd, statb.st_size - (32*1024*1024 - 1024), SEEK_SET);
sz = 32*1024*1024;
}
buffer = (char*)xzalloc(sz);
@@ -184,7 +184,7 @@ PLUGIN_INFO(ACTION,
CKerneloopsScanner,
"KerneloopsScanner",
"0.0.1",
- "Save new Kerneloops crashes into debug dump dir",
+ "Periodically scans for and saves kernel oopses",
"anton@redhat.com",
"http://people.redhat.com/aarapov",
"");