[systemd-commits] src/journal
Tom Gundersen
tomegun at kemper.freedesktop.org
Tue Jul 1 14:50:36 PDT 2014
src/journal/coredump-vacuum.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit cd4ba18a849dc82735b3787cf99bd3fdc404d5ae
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Jul 1 23:11:47 2014 +0200
coredump: vacuum - fix calculation of 10% of fs size for MaxUse
diff --git a/src/journal/coredump-vacuum.c b/src/journal/coredump-vacuum.c
index ad2e2fa..125bb3a 100644
--- a/src/journal/coredump-vacuum.c
+++ b/src/journal/coredump-vacuum.c
@@ -104,8 +104,8 @@ static bool vacuum_necessary(int fd, off_t sum, off_t keep_free, off_t max_use)
if (max_use < DEFAULT_MAX_USE_LOWER)
max_use = DEFAULT_MAX_USE_LOWER;
}
-
- max_use = DEFAULT_MAX_USE_LOWER;
+ else
+ max_use = DEFAULT_MAX_USE_LOWER;
} else
max_use = PAGE_ALIGN(max_use);
More information about the systemd-commits
mailing list