Skip to content

Commit e54fff0

Browse files
author
Hung Nguyen Gia
committed
DragonFly still uses VM_METER instead of VM_TOTAL in sys_fmem.c
1 parent cd390f4 commit e54fff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtlib/dragonfly/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_TOTAL };
10+
int mib[2] = { CTL_VM, VM_METER };
1111
struct vmtotal vmt;
1212
size_t size = sizeof(struct vmtotal);
1313

0 commit comments

Comments
 (0)