diff --git a/src/rtlib/freebsd/sys_fmem.c b/src/rtlib/freebsd/sys_fmem.c index 470bd76e91..04b9d9a353 100644 --- a/src/rtlib/freebsd/sys_fmem.c +++ b/src/rtlib/freebsd/sys_fmem.c @@ -7,7 +7,7 @@ FBCALL size_t fb_GetMemAvail( int mode ) { - int mib[2] = { CTL_VM, VM_METER }; + int mib[2] = { CTL_VM, VM_TOTAL }; struct vmtotal vmt; size_t size = sizeof(struct vmtotal);