Unverified Commit e2a9ea04 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo Committed by GitHub
Browse files

Merge pull request #4901 from KFilipek/zmalloc_typo_fix

HW_PHYSMEM typo in preprocessor condition
parents 295db9ee fd9177dd
...@@ -419,7 +419,7 @@ size_t zmalloc_get_memory_size(void) { ...@@ -419,7 +419,7 @@ size_t zmalloc_get_memory_size(void) {
mib[0] = CTL_HW; mib[0] = CTL_HW;
#if defined(HW_REALMEM) #if defined(HW_REALMEM)
mib[1] = HW_REALMEM; /* FreeBSD. ----------------- */ mib[1] = HW_REALMEM; /* FreeBSD. ----------------- */
#elif defined(HW_PYSMEM) #elif defined(HW_PHYSMEM)
mib[1] = HW_PHYSMEM; /* Others. ------------------ */ mib[1] = HW_PHYSMEM; /* Others. ------------------ */
#endif #endif
unsigned int size = 0; /* 32-bit */ unsigned int size = 0; /* 32-bit */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment