diff options
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/ChangeLog | 4 | ||||
-rw-r--r-- | benchmarks/forks.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <tb@mit.edu> + + * forks.c (main): Count argc correctly. + Wed Apr 12 11:25:25 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> * 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); } |