Skip to content

Commit 836c800

Browse files
authored
Merge pull request #139 from vilhelmgray/vm_total
rtlib: freebsd: Fix deprecated use of VM_METER to use VM_TOTAL
2 parents 1a6583d + 3edcdd2 commit 836c800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtlib/freebsd/sys_fmem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
FBCALL size_t fb_GetMemAvail( int mode )
99
{
10-
int mib[2] = { CTL_VM, VM_METER };
10+
int mib[2] = { CTL_VM, VM_TOTAL };
1111
struct vmtotal vmt;
1212
size_t size = sizeof(struct vmtotal);
1313

0 commit comments

Comments
 (0)