diff options
author | libuv upstream <libuv@googlegroups.com> | 2018-05-06 21:48:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-05-07 15:47:58 (GMT) |
commit | c8b67ea119c4000018238f6c3201a1364356d93a (patch) | |
tree | 0ab31e431ee82c0796c1b06922347762aa12b347 /src/unix/cygwin.c | |
parent | f4a26c748b5ea2cafecdf5490b744a2b167c01ae (diff) | |
download | CMake-c8b67ea119c4000018238f6c3201a1364356d93a.zip CMake-c8b67ea119c4000018238f6c3201a1364356d93a.tar.gz CMake-c8b67ea119c4000018238f6c3201a1364356d93a.tar.bz2 |
libuv 2018-05-06 (bf605bd7)
Code extracted from:
https://github.com/libuv/libuv.git
at commit bf605bd7d0dd5660663e8e2eb44d63aa3355e268 (v1.x).
Diffstat (limited to 'src/unix/cygwin.c')
-rw-r--r-- | src/unix/cygwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/cygwin.c b/src/unix/cygwin.c index 5a887dd..9fe4093 100644 --- a/src/unix/cygwin.c +++ b/src/unix/cygwin.c @@ -29,7 +29,7 @@ int uv_uptime(double* uptime) { struct sysinfo info; if (sysinfo(&info) < 0) - return -errno; + return UV__ERR(errno); *uptime = info.uptime; return 0; |