From c4b45bac5105ad1f9d2b775c73acd1e5cac3e109 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 20 Sep 1999 13:52:03 +0000 Subject: 1999-09-14 Thomas Bushnell, BSG * forks.c (main): Count argc correctly. --- benchmarks/ChangeLog | 4 ++++ benchmarks/forks.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/benchmarks/ChangeLog b/benchmarks/ChangeLog index a46fe1e8..8da0f4f0 100644 --- a/benchmarks/ChangeLog +++ b/benchmarks/ChangeLog @@ -1,3 +1,7 @@ +1999-09-14 Thomas Bushnell, BSG + + * forks.c (main): Count argc correctly. + Wed Apr 12 11:25:25 1995 Michael I Bushnell * Makefile (OBJS): New var. diff --git a/benchmarks/forks.c b/benchmarks/forks.c index 2bb98a88..1043e124 100644 --- a/benchmarks/forks.c +++ b/benchmarks/forks.c @@ -16,7 +16,7 @@ main(argc, argv) int pid, child, status, brksize; int starttime, endtime; - if (argc < 2) { + if (argc < 3) { printf("usage: %s number-of-forks sbrk-size\n", argv[0]); exit(1); } -- cgit v1.2.3