diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-19 19:34:37 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-03-19 19:34:37 +0100 |
commit | 36dba9c4a9aee236928459d3d38fd08e5924259b (patch) | |
tree | ede7a1bae6037da69cce4440580c5470878c173b /main.c | |
parent | 41a40733dc80946841c9241ec56a4670a5943709 (diff) |
fix log buffer overflow handling
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ retry: } if (buf > proc->log_buf && len > 0) - memmove(buf, proc->log_buf, len); + memmove(proc->log_buf, buf, len); if (len == LOG_BUF_SIZE) { if (!proc->log_overflow) { |