projects
/
project
/
ubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
960a29d
)
logread: fix line buffer size
author
Felix Fietkau
<nbd@nbd.name>
Mon, 6 Nov 2017 10:47:57 +0000
(11:47 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Mon, 6 Nov 2017 10:47:57 +0000
(11:47 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
log/logread.c
patch
|
blob
|
history
diff --git
a/log/logread.c
b/log/logread.c
index 920d96b97dc3a1dc1504c39e59a2b45354daa695..784d1f9373e06d5e96c4857d2527253123e0396f 100644
(file)
--- a/
log/logread.c
+++ b/
log/logread.c
@@
-100,7
+100,7
@@
static int log_notify(struct blob_attr *msg)
{
struct blob_attr *tb[__LOG_MAX];
struct stat s;
- char buf[
512
];
+ char buf[
LOG_LINE_SIZE + 128
];
char buf_ts[32];
uint32_t p;
time_t t;