summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-31 00:44:38 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-07-31 00:44:38 +0200
commitb276cf3a378b33d2d965181357dfa2e3ddc07bc7 (patch)
treedb3a4702e9465352f5f62dc9c29a3b86f70f1992 /lib
parentceed068cd814059ca5207877f639c0388337eb95 (diff)
downloadabrt-b276cf3a378b33d2d965181357dfa2e3ddc07bc7.tar.gz
abrt-b276cf3a378b33d2d965181357dfa2e3ddc07bc7.tar.xz
abrt-b276cf3a378b33d2d965181357dfa2e3ddc07bc7.zip
using more x-functions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/KerneloopsSysLog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Plugins/KerneloopsSysLog.cpp b/lib/Plugins/KerneloopsSysLog.cpp
index 11dfa999..008d0717 100644
--- a/lib/Plugins/KerneloopsSysLog.cpp
+++ b/lib/Plugins/KerneloopsSysLog.cpp
@@ -23,12 +23,12 @@
* Anton Arapov <anton@redhat.com>
* Arjan van de Ven <arjan@linux.intel.com>
*/
-
+#include "abrtlib.h"
#include "KerneloopsSysLog.h"
#include <list>
-#include <stdlib.h>
-#include <string.h>
+//#include <stdlib.h>
+//#include <string.h>
#include <assert.h>
/*
@@ -77,8 +77,8 @@ void CSysLog::QueueOops(char *data, char *version)
if (m_nFoundOopses > MAX_OOPS)
return;
- m_NewOops.m_sData = strdup(data);
- m_NewOops.m_sVersion = strdup(version);
+ m_NewOops.m_sData = xstrdup(data);
+ m_NewOops.m_sVersion = xstrdup(version);
m_OopsQueue.push_back(m_NewOops);
m_nFoundOopses++;