summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-01-05 13:13:09 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-01-05 13:13:09 +0000
commitd6852e2f73b4476b37685a317bd92e07fbcfb164 (patch)
treea202454d5d596ef331e6fee7a139cb388d7790ca
parent7bac741c660be4dcf4d5467b0ab45dc880536f29 (diff)
downloaddrakx-d6852e2f73b4476b37685a317bd92e07fbcfb164.tar
drakx-d6852e2f73b4476b37685a317bd92e07fbcfb164.tar.gz
drakx-d6852e2f73b4476b37685a317bd92e07fbcfb164.tar.bz2
drakx-d6852e2f73b4476b37685a317bd92e07fbcfb164.tar.xz
drakx-d6852e2f73b4476b37685a317bd92e07fbcfb164.zip
do not need malloc padding anymore since dietlibc malloc is fixed now
-rw-r--r--mdk-stage1/tools.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index 3d22d4d17..26d92d3e7 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -270,8 +270,6 @@ enum return_type load_ramdisk(void)
void * memdup(void *src, size_t size)
{
void * r;
- if (size < 8)
- size = 16;
r = malloc(size);
memcpy(r, src, size);
return r;