summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2002-08-12 00:42:57 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2002-08-12 00:42:57 +0000
commit87ffdf06b6ecc46b38ca953419304b64e37c7c95 (patch)
tree9e44c0b5a073ee17b9d7d3da181c696f012c6248 /usr.bin/make
parent941ec3d1051d178a11f6baa72a3d520413033f2e (diff)
Swap args to calloc(3) so they are in the correct order; art@ ok.
Diffstat (limited to 'usr.bin/make')
-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);
}