Skip to content

Commit

Permalink
unix: return 0 retrieving rss on cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
cjihrig committed Sep 18, 2018
1 parent baa621c commit c92be35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/cygwin.c
Expand Up @@ -38,7 +38,7 @@ int uv_uptime(double* uptime) {
int uv_resident_set_memory(size_t* rss) {
/* FIXME: read /proc/meminfo? */
*rss = 0;
return UV_ENOSYS;
return 0;
}

int uv_cpu_info(uv_cpu_info_t** cpu_infos, int* count) {
Expand Down

0 comments on commit c92be35

Please sign in to comment.