summaryrefslogtreecommitdiff
path: root/deps/uv/test/benchmark-pump.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/test/benchmark-pump.c')
-rw-r--r--deps/uv/test/benchmark-pump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/uv/test/benchmark-pump.c b/deps/uv/test/benchmark-pump.c
index 6d01229c7f..5b4db3c0e3 100644
--- a/deps/uv/test/benchmark-pump.c
+++ b/deps/uv/test/benchmark-pump.c
@@ -206,7 +206,7 @@ static void do_write(uv_stream_t* stream) {
static void connect_cb(uv_connect_t* req, int status) {
int i;
- if (status) LOG(uv_strerror(uv_last_error(loop)));
+ if (status) LOG(uv_strerror(status));
ASSERT(status == 0);
write_sockets++;