summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-12-07 16:11:48 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-12-07 16:11:48 +0100
commitf64e93df6576312618b19025b1993df22cdffb58 (patch)
treeaa321e3721ddc4ca56b5ca8c5a9450ff5ae7f367 /lib
parent99edae18f6aa282f24c025835308053d01e7ffc5 (diff)
parent9513842bf37190147941e11990b303dd83df4655 (diff)
downloadabrt-f64e93df6576312618b19025b1993df22cdffb58.tar.gz
abrt-f64e93df6576312618b19025b1993df22cdffb58.tar.xz
abrt-f64e93df6576312618b19025b1993df22cdffb58.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/KerneloopsSysLog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/KerneloopsSysLog.cpp b/lib/Plugins/KerneloopsSysLog.cpp
index 0032d38..adff846 100644
--- a/lib/Plugins/KerneloopsSysLog.cpp
+++ b/lib/Plugins/KerneloopsSysLog.cpp
@@ -52,7 +52,7 @@ static int extract_version(const char *linepointer, char *version)
start = strstr((char*)linepointer, "2.6.");
if (start) {
- end = strchrnul(start, ')');
+ end = strchr(start, ')');
if (!end)
end = strchrnul(start, ' ');
strncpy(version, start, end-start);