summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-14 03:06:57 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-14 03:06:57 +0100
commita7bc2c2ac8d26779ed1154841545e8c0efbef31c (patch)
treef7883e41d928d368c27bc29c9348578cdc1e6760 /src/journal/journal-file.c
parentde0229ca36034981f6c380de39bf7ffd3c6b57fa (diff)
util: introduce FORMAT_BYTES_MAX
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r--src/journal/journal-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index 419e15e46f..59ad84e23b 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -2103,7 +2103,7 @@ int journal_file_copy_entry(JournalFile *from, JournalFile *to, Object *o, uint6
void journal_default_metrics(JournalMetrics *m, int fd) {
uint64_t fs_size = 0;
struct statvfs ss;
- char a[64], b[64], c[64], d[64];
+ char a[FORMAT_BYTES_MAX], b[FORMAT_BYTES_MAX], c[FORMAT_BYTES_MAX], d[FORMAT_BYTES_MAX];
assert(m);
assert(fd >= 0);