chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journald: Fix off-by-one error in "Missed X kernel messages" warning
[elogind.git]
/
src
/
journal
/
journald-native.h
diff --git
a/src/journal/journald-native.h
b/src/journal/journald-native.h
index bf02fee576e243686c7256b4eefeed84d14fe9e1..e82a5b87d5a51e3fc757803ed826873cc07e9f8b 100644
(file)
--- a/
src/journal/journald-native.h
+++ b/
src/journal/journald-native.h
@@
-25,8
+25,8
@@
/* Make sure not to make this smaller than the maximum coredump
* size. See COREDUMP_MAX in coredump.c */
/* Make sure not to make this smaller than the maximum coredump
* size. See COREDUMP_MAX in coredump.c */
-#define ENTRY_SIZE_MAX (1024*1024*7
68
)
-#define DATA_SIZE_MAX (1024*1024*768)
+#define ENTRY_SIZE_MAX (1024*1024*7
70u
)
+#define DATA_SIZE_MAX (1024*1024*768
u
)
bool valid_user_field(const char *p, size_t l, bool allow_protected);
bool valid_user_field(const char *p, size_t l, bool allow_protected);