aboutsummaryrefslogtreecommitdiffstats
path: root/testbuddy.c
diff options
context:
space:
mode:
Diffstat (limited to 'testbuddy.c')
-rw-r--r--testbuddy.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/testbuddy.c b/testbuddy.c
index 5bde336..4cf02a8 100644
--- a/testbuddy.c
+++ b/testbuddy.c
@@ -87,15 +87,12 @@ static int testsizes[] = {
int main(int argc, char *argv[])
{
void *areas[64];
- void *buf;
- int arena_len = 16384;
int i;
- unlink("arena.dat");
- unlink("arena.log");
+ unlink("buddy.dat");
+ unlink("buddy.log");
- buf = objstore_init("arena.dat", "arena.log", &arena_len);
- if ( !objstore_arena_init() ) {
+ if ( !objstore_arena_init("buddy.dat", "buddy.log") ) {
fprintf(stderr, "%s: objstore_arena_init() failed\n", argv[0]);
return 1;
}