From 93faeb218988849835aa6165b661524e46a64720 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 12 Nov 2011 15:58:54 -0800 Subject: [PATCH] Fix typo that broke libuv on NetBSD: psysconf() -> sysconf() --- src/unix/netbsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/netbsd.c b/src/unix/netbsd.c index 8b91f65c..cf83c344 100644 --- a/src/unix/netbsd.c +++ b/src/unix/netbsd.c @@ -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) {