projects
/
project
/
ubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logread: fix line buffer size
[project/ubox.git]
/
log
/
logread.c
diff --git
a/log/logread.c
b/log/logread.c
index
920d96b
..
784d1f9
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;
{
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;
char buf_ts[32];
uint32_t p;
time_t t;