projects
/
archipelago
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix mt-mapperd pithos read bug. plus some minor fixes
[archipelago]
/
xseg
/
xtypes
/
xheap_test.c
diff --git
a/xseg/xtypes/xheap_test.c
b/xseg/xtypes/xheap_test.c
index
1ec5a9e
..
08c27f7
100644
(file)
--- a/
xseg/xtypes/xheap_test.c
+++ b/
xseg/xtypes/xheap_test.c
@@
-192,6
+192,10
@@
int main(int argc, const char *argv[])
{
unsigned long alloc, expected, i =0;
int r;
+ if (argc < 5){
+ printf("Usage: %s al_unit size chunk_size nr_threads\n", argv[0]);
+ return -1;
+ }
al_unit = atol(argv[1]);
size = atol(argv[2]);
chunk = atol(argv[3]);