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
b85086c5
Commit
b85086c5
authored
May 06, 2018
by
Krzysztof Filipek
Committed by
antirez
Jun 12, 2018
Browse files
Typo in preprocessor condition
parent
4a9670f5
Changes
1
Show whitespace changes
Inline
Side-by-side
src/zmalloc.c
View file @
b85086c5
...
@@ -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