Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
e2a9ea04
Unverified
Commit
e2a9ea04
authored
Jun 11, 2018
by
Salvatore Sanfilippo
Committed by
GitHub
Jun 11, 2018
Browse files
Merge pull request #4901 from KFilipek/zmalloc_typo_fix
HW_PHYSMEM typo in preprocessor condition
parents
295db9ee
fd9177dd
Changes
1
Show whitespace changes
Inline
Side-by-side
src/zmalloc.c
View file @
e2a9ea04
...
@@ -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_P
H
YSMEM)
mib
[
1
]
=
HW_PHYSMEM
;
/* Others. ------------------ */
mib
[
1
]
=
HW_PHYSMEM
;
/* Others. ------------------ */
#endif
#endif
unsigned
int
size
=
0
;
/* 32-bit */
unsigned
int
size
=
0
;
/* 32-bit */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment