summaryrefslogtreecommitdiff
path: root/libbb/messages.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-19 14:47:11 +0000
committerDenis Vlasenko2007-04-19 14:47:11 +0000
commit8581863a1b536e2db20036e680b58cc07c54ad55 (patch)
treedd38275bbe7988a0d2c8a806ea51c99e326fa772 /libbb/messages.c
parent516a0ca2dc92d9ea103535863102cc5425fe648e (diff)
downloadbusybox-8581863a1b536e2db20036e680b58cc07c54ad55.zip
busybox-8581863a1b536e2db20036e680b58cc07c54ad55.tar.gz
procps: remove all global variables
text data bss dec hex filename 1462 14 24 1500 5dc busybox.t2/procps/ps.o 1484 0 0 1484 5cc busybox.t3/procps/ps.o 3122 0 252 3374 d2e busybox.t1/procps/top.o 3117 0 0 3117 c2d busybox.t3/procps/top.o
Diffstat (limited to 'libbb/messages.c')
-rw-r--r--libbb/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/messages.c b/libbb/messages.c
index 12a165a..3febe76 100644
--- a/libbb/messages.c
+++ b/libbb/messages.c
@@ -54,7 +54,7 @@ WTMP_FILE;
# error unknown path to wtmp file
#endif
-char bb_common_bufsiz1[BUFSIZ+1];
+char bb_common_bufsiz1[(BUFSIZ > 256*sizeof(void*) ? BUFSIZ : 256*sizeof(void*)) + 1];
struct globals;
/* Make it reside in R/W memory: */