From 4fbe7a5fabbdcf9877fd1aa2b9e8c5ef40bd1306 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 4 Jul 2012 14:08:07 +0200 Subject: [PATCH] deps: upgrade libuv to be09be7 --- deps/uv/src/unix/freebsd.c | 2 +- deps/uv/test/test-hrtime.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/uv/src/unix/freebsd.c b/deps/uv/src/unix/freebsd.c index d916b0b1267..f6f441ff16c 100644 --- a/deps/uv/src/unix/freebsd.c +++ b/deps/uv/src/unix/freebsd.c @@ -261,7 +261,7 @@ uv_err_t uv_cpu_info(uv_cpu_info_t** cpu_infos, int* count) { return uv__new_sys_error(ENOMEM); } - if (sysctlbyname("kern.cp_times", &cp_times, &size, NULL, 0) < 0) { + if (sysctlbyname("kern.cp_times", cp_times, &size, NULL, 0) < 0) { free(cp_times); free(*cpu_infos); return uv__new_sys_error(errno); diff --git a/deps/uv/test/test-hrtime.c b/deps/uv/test/test-hrtime.c index 2a9156ecf91..72a4d4b181d 100644 --- a/deps/uv/test/test-hrtime.c +++ b/deps/uv/test/test-hrtime.c @@ -47,7 +47,7 @@ TEST_IMPL(hrtime) { /* Check that the difference between the two hrtime values is somewhat in */ /* the range we expect it to be. */ ASSERT(diff > (uint64_t) 25 * NANOSEC / MILLISEC); - ASSERT(diff < (uint64_t) 60 * NANOSEC / MILLISEC); + ASSERT(diff < (uint64_t) 80 * NANOSEC / MILLISEC); --i; } return 0;