bc_tester: fix autoassignment bug

This commit is contained in:
Gautier Pelloux-Prayer 2015-12-09 11:07:08 +01:00
parent aa719921dd
commit 02f48749a9
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 1030c33ec02ce981b12df5eb11cc4ddb199991e2
Subproject commit 49018a2f14c583a35c480816bd9979b463ec39d6

View file

@ -446,9 +446,9 @@ void bc_tester_init(void (*ftester_printf)(int level, const char *format, va_lis
bc_tester_writable_dir_prefix = strdup(".");
}
void bc_tester_set_max_vm(long max_vm_kb) {
void bc_tester_set_max_vm(long amax_vm_kb) {
#ifdef __linux
max_vm_kb = max_vm_kb;
max_vm_kb = amax_vm_kb;
bc_tester_printf(bc_printf_verbosity_info, "Maximum virtual memory space set to %li kilo bytes", max_vm_kb);
#else
bc_tester_printf(bc_printf_verbosity_error, "Maximum virtual memory space setting is only implemented on Linux.");