summaryrefslogtreecommitdiff
path: root/heap/hp_test1.c
diff options
context:
space:
mode:
Diffstat (limited to 'heap/hp_test1.c')
-rw-r--r--heap/hp_test1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/heap/hp_test1.c b/heap/hp_test1.c
index 848157e831b..f44752af3bc 100644
--- a/heap/hp_test1.c
+++ b/heap/hp_test1.c
@@ -65,7 +65,7 @@ int main(int argc, char **argv)
sprintf(key,"%6d",j);
bmove(record+1,key,6);
error=heap_write(file,record);
- if (heap_check_heap(file))
+ if (heap_check_heap(file,0))
{
puts("Heap keys crashed");
goto err;
@@ -100,7 +100,7 @@ int main(int argc, char **argv)
if (! error)
deleted++;
}
- if (heap_check_heap(file))
+ if (heap_check_heap(file,0))
{
puts("Heap keys crashed");
goto err;