diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-09-20 13:52:03 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-09-20 13:52:03 +0000 |
commit | c4b45bac5105ad1f9d2b775c73acd1e5cac3e109 (patch) | |
tree | 08bef24a25b6cd129ea9aaa59c7c3aee50a8c04f /benchmarks | |
parent | 3051b1cdbcf8b0529c2cf90e837c4d2f0e10fad4 (diff) |
1999-09-14 Thomas Bushnell, BSG <tb@mit.edu>
* forks.c (main): Count argc correctly.
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); } |