aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/library.js b/src/library.js
index e79caa4c..caf1dd0b 100644
--- a/src/library.js
+++ b/src/library.js
@@ -6804,11 +6804,7 @@ LibraryManager.library = {
},
__errno_location__deps: ['__setErrNo'],
__errno_location: function() {
- if (!___setErrNo.ret) {
- ___setErrNo.ret = allocate([0], 'i32', ALLOC_NORMAL);
- {{{ makeSetValue('___setErrNo.ret', '0', '0', 'i32') }}}
- }
- return ___setErrNo.ret;
+ return ___errno_state;
},
__errno: '__errno_location',