diff options
Diffstat (limited to 'src/Hooks/abrt-hook-ccpp.cpp')
| -rw-r--r-- | src/Hooks/abrt-hook-ccpp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Hooks/abrt-hook-ccpp.cpp b/src/Hooks/abrt-hook-ccpp.cpp index 237ea6f..1c91dc8 100644 --- a/src/Hooks/abrt-hook-ccpp.cpp +++ b/src/Hooks/abrt-hook-ccpp.cpp @@ -23,7 +23,6 @@ #include "DebugDump.h" #include "ABRTException.h" #include <syslog.h> -#include <sys/statvfs.h> #define FILENAME_EXECUTABLE "executable" #define FILENAME_COREDUMP "coredump" @@ -70,7 +69,7 @@ int main(int argc, char** argv) const char* program_name = argv[0]; error_msg_and_die("Usage: %s: DUMPDIR PID SIGNO UID CORE_SIZE_LIMIT", program_name); } - openlog("abrt", 0, LOG_PID | LOG_DAEMON); + openlog("abrt", LOG_PID, LOG_DAEMON); logmode = LOGMODE_SYSLOG; errno = 0; |
