aboutsummaryrefslogtreecommitdiff
path: root/runit/svlogd.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-04-21 18:38:51 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-04-21 18:38:51 +0200
commit9de2e5a22213842da5b116723392de88de9ed419 (patch)
treedff999a566382174e084d377dc3b4c03de1d4c62 /runit/svlogd.c
parent47cfbf32fd66563f8c4e09ad6cced6abfbe2fad5 (diff)
downloadbusybox-w32-9de2e5a22213842da5b116723392de88de9ed419.tar.gz
busybox-w32-9de2e5a22213842da5b116723392de88de9ed419.tar.bz2
busybox-w32-9de2e5a22213842da5b116723392de88de9ed419.zip
*: hopefully all setup_common_bufsiz() are in place
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit/svlogd.c')
-rw-r--r--runit/svlogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runit/svlogd.c b/runit/svlogd.c
index 09efdb695..7cae81cb2 100644
--- a/runit/svlogd.c
+++ b/runit/svlogd.c
@@ -234,7 +234,9 @@ struct globals {
234#define blocked_sigset (G.blocked_sigset) 234#define blocked_sigset (G.blocked_sigset)
235#define fl_flag_0 (G.fl_flag_0 ) 235#define fl_flag_0 (G.fl_flag_0 )
236#define dirn (G.dirn ) 236#define dirn (G.dirn )
237#define line bb_common_bufsiz1
237#define INIT_G() do { \ 238#define INIT_G() do { \
239 setup_common_bufsiz(); \
238 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ 240 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
239 linemax = 1000; \ 241 linemax = 1000; \
240 /*buflen = 1024;*/ \ 242 /*buflen = 1024;*/ \
@@ -242,8 +244,6 @@ struct globals {
242 replace = ""; \ 244 replace = ""; \
243} while (0) 245} while (0)
244 246
245#define line bb_common_bufsiz1
246
247 247
248#define FATAL "fatal: " 248#define FATAL "fatal: "
249#define WARNING "warning: " 249#define WARNING "warning: "