summaryrefslogtreecommitdiff
path: root/usr.bin/make/stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/stats.c')
-rw-r--r--usr.bin/make/stats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/stats.c b/usr.bin/make/stats.c
index 3fc53919411..4f8b173968e 100644
--- a/usr.bin/make/stats.c
+++ b/usr.bin/make/stats.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: stats.c,v 1.5 2001/06/12 22:44:22 espie Exp $ */
+/* $OpenBSD: stats.c,v 1.6 2002/08/12 00:42:56 aaron Exp $ */
/*
* Copyright (c) 1999 Marc Espie.
@@ -165,7 +165,7 @@ Init_Stats()
}
} else
/* or we don't -> simple stats gathering */
- statarray = ecalloc(sizeof(unsigned long), STAT_NUMBER);
+ statarray = ecalloc(STAT_NUMBER, sizeof(unsigned long));
STAT_INVOCATIONS++;
atexit(print_stats);
}