diff options
author | cjihrig <cjihrig@gmail.com> | 2018-02-21 15:42:26 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-02-23 09:51:30 -0500 |
commit | 3a191229418dcc0e21956847993b1702c88a923b (patch) | |
tree | 23def7030d5bb38b47880a827d3e85576cac2008 /deps/uv/src/unix/procfs-exepath.c | |
parent | 3cef3e61d647d3dd2107087d876a3a02e0c3961e (diff) | |
download | android-node-v8-3a191229418dcc0e21956847993b1702c88a923b.tar.gz android-node-v8-3a191229418dcc0e21956847993b1702c88a923b.tar.bz2 android-node-v8-3a191229418dcc0e21956847993b1702c88a923b.zip |
deps: upgrade libuv to 1.19.2
PR-URL: https://github.com/nodejs/node/pull/18918
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'deps/uv/src/unix/procfs-exepath.c')
-rw-r--r-- | deps/uv/src/unix/procfs-exepath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/uv/src/unix/procfs-exepath.c b/deps/uv/src/unix/procfs-exepath.c index 5fdb611550..00dc021f21 100644 --- a/deps/uv/src/unix/procfs-exepath.c +++ b/deps/uv/src/unix/procfs-exepath.c @@ -29,14 +29,14 @@ int uv_exepath(char* buffer, size_t* size) { ssize_t n; if (buffer == NULL || size == NULL || *size == 0) - return -EINVAL; + return UV_EINVAL; n = *size - 1; if (n > 0) n = readlink("/proc/self/exe", buffer, n); if (n == -1) - return -errno; + return UV__ERR(errno); buffer[n] = '\0'; *size = n; |