diff options
Diffstat (limited to 'src/journald/LMI_JournalRecordInLogProvider.c')
-rw-r--r-- | src/journald/LMI_JournalRecordInLogProvider.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/journald/LMI_JournalRecordInLogProvider.c b/src/journald/LMI_JournalRecordInLogProvider.c index 84f3960..a8b8efc 100644 --- a/src/journald/LMI_JournalRecordInLogProvider.c +++ b/src/journald/LMI_JournalRecordInLogProvider.c @@ -23,7 +23,6 @@ #include <systemd/sd-journal.h> -#include "globals.h" #include "journal.h" #include "instutil.h" @@ -68,7 +67,7 @@ static CMPIStatus LMI_JournalRecordInLogEnumInstances( int r; CMPIStatus rc; unsigned long count = 0; - char errbuf[STRERROR_BUF_LEN]; + char errbuf[BUFLEN]; LMI_JournalMessageLogRef_Init(&message_log_ref, _cb, ns); LMI_JournalMessageLogRef_Set_CreationClassName(&message_log_ref, LMI_JournalMessageLog_ClassName); |