Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Fix typo that broke libuv on NetBSD: psysconf() -> sysconf()
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 authored and bnoordhuis committed Nov 13, 2011
1 parent d4bfcc2 commit 93faeb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/netbsd.c
Expand Up @@ -91,7 +91,7 @@ uint64_t uv_get_free_memory(void) {
return -1;
}

return (uint64_t) info.free * psysconf(_SC_PAGESIZE);
return (uint64_t) info.free * sysconf(_SC_PAGESIZE);
}

uint64_t uv_get_total_memory(void) {
Expand Down

0 comments on commit 93faeb2

Please sign in to comment.