summaryrefslogtreecommitdiff
path: root/coreutils/cksum.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-10 21:40:19 +0000
committerDenis Vlasenko2007-04-10 21:40:19 +0000
commitc6758a07c68033627a692cda27aebc8f6a662e7f (patch)
tree51bc0b498a5e16f8041604d913e25708cc76058f /coreutils/cksum.c
parent335b63d8d1876ce4e172ebcc9d64544785682244 (diff)
downloadbusybox-c6758a07c68033627a692cda27aebc8f6a662e7f.zip
busybox-c6758a07c68033627a692cda27aebc8f6a662e7f.tar.gz
make compressed help code NOMMU- and NOFORK-friendly -
no forking anymore, bunzip2 unpack routine now does all it in memory.
Diffstat (limited to 'coreutils/cksum.c')
-rw-r--r--coreutils/cksum.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/cksum.c b/coreutils/cksum.c
index 66a255c..70febdf 100644
--- a/coreutils/cksum.c
+++ b/coreutils/cksum.c
@@ -11,8 +11,7 @@
int cksum_main(int argc, char **argv);
int cksum_main(int argc, char **argv)
{
-
- uint32_t *crc32_table = crc32_filltable(1);
+ uint32_t *crc32_table = crc32_filltable(NULL, 1);
FILE *fp;
uint32_t crc;