mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Fixed status vs statex
This commit is contained in:
parent
29d9a2927c
commit
722ed14020
1 changed files with 2 additions and 1 deletions
|
|
@ -23,7 +23,8 @@
|
|||
isc_uint64_t
|
||||
isc_meminfo_totalphys(void) {
|
||||
MEMORYSTATUSEX statex;
|
||||
status.dwLength = sizeof(statex);
|
||||
|
||||
statex.dwLength = sizeof(statex);
|
||||
GlobalMemoryStatusEx(&statex);
|
||||
return ((isc_uint64_t)statex.ullTotalPhys);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue