summaryrefslogtreecommitdiff
path: root/benchmarks/forks.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-09-20 13:52:03 +0000
committerThomas Bushnell <thomas@gnu.org>1999-09-20 13:52:03 +0000
commitc4b45bac5105ad1f9d2b775c73acd1e5cac3e109 (patch)
tree08bef24a25b6cd129ea9aaa59c7c3aee50a8c04f /benchmarks/forks.c
parent3051b1cdbcf8b0529c2cf90e837c4d2f0e10fad4 (diff)
1999-09-14 Thomas Bushnell, BSG <tb@mit.edu>
* forks.c (main): Count argc correctly.
Diffstat (limited to 'benchmarks/forks.c')
-rw-r--r--benchmarks/forks.c2
1 files changed, 1 insertions, 1 deletions
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);
}