summaryrefslogtreecommitdiff
path: root/rpmunpack.c
diff options
context:
space:
mode:
authorEric Andersen2001-01-25 23:49:09 +0000
committerEric Andersen2001-01-25 23:49:09 +0000
commitd35c21587a4139031c077fd122252217a4713681 (patch)
tree7bd14fd247492c00f3d38ae1dbd7727e03fda9ad /rpmunpack.c
parentffde8673fe8b2c32076aa3e01eab1fefc5f08e86 (diff)
downloadbusybox-d35c21587a4139031c077fd122252217a4713681.zip
busybox-d35c21587a4139031c077fd122252217a4713681.tar.gz
Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.
-Erik
Diffstat (limited to 'rpmunpack.c')
-rw-r--r--rpmunpack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmunpack.c b/rpmunpack.c
index 512d638..0f36077 100644
--- a/rpmunpack.c
+++ b/rpmunpack.c
@@ -51,7 +51,7 @@ static void myread(int num, char *buffer)
int rpmunpack_main(int argc, char **argv)
{
int len, status = 0;
- char buffer[BUFSIZ];
+ RESERVE_BB_BUFFER(buffer, BUFSIZ);
/* Get our own program name */
if ((progname = strrchr(argv[0], '/')) == NULL)