Commit 9738e587 authored by antirez's avatar antirez
Browse files

Fixed compilation on FreeBSD

parent 825d2904
...@@ -262,7 +262,7 @@ size_t zmalloc_get_rss(void) { ...@@ -262,7 +262,7 @@ size_t zmalloc_get_rss(void) {
return t_info.resident_size; return t_info.resident_size;
} }
#else #else
float zmalloc_get_rss(void) { size_t zmalloc_get_rss(void) {
/* If we can't get the RSS in an OS-specific way for this system just /* If we can't get the RSS in an OS-specific way for this system just
* return the memory usage we estimated in zmalloc().. * return the memory usage we estimated in zmalloc()..
* *
......
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