From 0ef81e84ef53eb91ceffc22979e884fb3a3e9c42 Mon Sep 17 00:00:00 2001 From: Philip C Monk Date: Tue, 26 May 2015 19:53:37 -0400 Subject: [PATCH] better unix.c errors --- v/unix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v/unix.c b/v/unix.c index fc8e1ead1..4fd4fa47f 100644 --- a/v/unix.c +++ b/v/unix.c @@ -272,7 +272,7 @@ _unix_file_watch(u3_ufil* fil_u, &fil_u->was_u // uv_fs_event_t ); if (0 != ret_w){ - uL(fprintf(uH, "event init: %s\n", strerror(ret_w))); + uL(fprintf(uH, "event init: %s\n", uv_strerror(ret_w))); c3_assert(0); } @@ -281,8 +281,8 @@ _unix_file_watch(u3_ufil* fil_u, _unix_fs_event_cb, // callback pax_c, // dir as strings 0); // flags - if (0 != ret_w){ - uL(fprintf(uH, "event start: %s\n", strerror(ret_w))); + if ( 0 != ret_w ){ + uL(fprintf(uH, "event start: %s\n", uv_strerror(ret_w))); c3_assert(0); }