From 87ffdf06b6ecc46b38ca953419304b64e37c7c95 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Mon, 12 Aug 2002 00:42:57 +0000 Subject: Swap args to calloc(3) so they are in the correct order; art@ ok. --- usr.bin/make/stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/make') 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); } -- cgit v1.2.3