diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-31 18:13:00 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-31 18:13:00 +0200 |
commit | e89460e8ad1202471695edaeb6364ff15ad4f585 (patch) | |
tree | ddce78ccba1702a35ebf3d09b39457bacba882db /lib/Plugins/KerneloopsScanner.cpp | |
parent | de2c473ef6cb27a080bb0491f21d1280e2c971c5 (diff) | |
download | abrt-e89460e8ad1202471695edaeb6364ff15ad4f585.tar.gz abrt-e89460e8ad1202471695edaeb6364ff15ad4f585.tar.xz abrt-e89460e8ad1202471695edaeb6364ff15ad4f585.zip |
delete semicolon in "if (expr); stmt;" , autodetect dmesg/syslog
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/KerneloopsScanner.cpp')
-rw-r--r-- | lib/Plugins/KerneloopsScanner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/KerneloopsScanner.cpp b/lib/Plugins/KerneloopsScanner.cpp index 082f1531..361b44cd 100644 --- a/lib/Plugins/KerneloopsScanner.cpp +++ b/lib/Plugins/KerneloopsScanner.cpp @@ -89,7 +89,7 @@ int CKerneloopsScanner::ScanDmesg() buffer = (char*)xzalloc(pagesz + 1); syscall(__NR_syslog, 3, buffer, pagesz); - cnt_FoundOopses = m_pSysLog.ExtractOops(buffer, strlen(buffer), 0); + cnt_FoundOopses = m_pSysLog.ExtractOops(buffer, strlen(buffer) /*, 0*/); free(buffer); return cnt_FoundOopses; @@ -134,7 +134,7 @@ int CKerneloopsScanner::ScanSysLogFile(const char *filename) cnt_FoundOopses = 0; if (sz > 0) - cnt_FoundOopses = m_pSysLog.ExtractOops(buffer, sz, 1); + cnt_FoundOopses = m_pSysLog.ExtractOops(buffer, sz /*, 1*/); free(buffer); return cnt_FoundOopses; |