summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-03-26 04:57:45 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-03-26 04:57:45 +0100
commit508e1d6585a37483cc5166824840fd6be776869d (patch)
treef7517f1843ae50afec0a506495cded60761cffd3 /src/daemon
parenta5f311e2fa609215c8749f45a57557616ed0c298 (diff)
downloadabrt-508e1d6585a37483cc5166824840fd6be776869d.zip
abrt-508e1d6585a37483cc5166824840fd6be776869d.tar.gz
abrt-508e1d6585a37483cc5166824840fd6be776869d.tar.xz
abrt-action-trim-files: new tool for trimming old debuginfo and debug dumps
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/abrt-server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/daemon/abrt-server.c b/src/daemon/abrt-server.c
index 9d4a231..c9da64d 100644
--- a/src/daemon/abrt-server.c
+++ b/src/daemon/abrt-server.c
@@ -16,7 +16,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "abrtlib.h"
-#include "hooklib.h"
#include "parse_options.h"
#define PROGNAME "abrt-server"
@@ -153,7 +152,7 @@ static void create_debug_dump()
if (maxCrashReportsSize > 0)
{
check_free_space(maxCrashReportsSize);
- trim_debug_dumps(maxCrashReportsSize, path);
+ trim_debug_dumps(DEBUG_DUMPS_DIR, maxCrashReportsSize * (double)(1024*1024), path);
}
free(path);