=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/stats.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/make/stats.c 2001/05/29 12:53:43 1.3 +++ src/usr.bin/make/stats.c 2001/06/05 11:59:54 1.4 @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: stats.c,v 1.3 2001/05/29 12:53:43 espie Exp $ */ +/* $OpenBSD: stats.c,v 1.4 2001/06/05 11:59:54 espie Exp $ */ /* * Copyright (c) 1999 Marc Espie. @@ -162,7 +162,7 @@ } } else /* or we don't -> simple stats gathering */ - statarray = emalloc(sizeof(unsigned long) * STAT_NUMBER); + statarray = ecalloc(sizeof(unsigned long), STAT_NUMBER); STAT_INVOCATIONS++; atexit(print_stats); }