X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fubox.git;a=blobdiff_plain;f=log%2Flogread.c;fp=log%2Flogread.c;h=784d1f9373e06d5e96c4857d2527253123e0396f;hp=920d96b97dc3a1dc1504c39e59a2b45354daa695;hb=a0819044b14ec34450d2fcab33fb15232e8164fa;hpb=960a29dc8c82009848b4970ee8d4c954fc8b7981 diff --git a/log/logread.c b/log/logread.c index 920d96b..784d1f9 100644 --- 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;