summaryrefslogtreecommitdiffstats
path: root/utils/erase.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/erase.c')
-rw-r--r--utils/erase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/erase.c b/utils/erase.c
index fdf7496..7e1cbc9 100644
--- a/utils/erase.c
+++ b/utils/erase.c
@@ -396,7 +396,7 @@ fizzle (eraser_state *st)
unsigned int i;
st->fizzle_rnd =
- (unsigned short *) malloc (sizeof(unsigned short) * chunks);
+ (unsigned short *) calloc (sizeof(unsigned short), chunks);
if (! st->fizzle_rnd)
return;