aboutsummaryrefslogtreecommitdiff
path: root/lib/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/constants.js')
-rw-r--r--lib/constants.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/constants.js b/lib/constants.js
index a4c2ca6fb3..44c7388580 100644
--- a/lib/constants.js
+++ b/lib/constants.js
@@ -25,7 +25,7 @@
// towards using the specific constants exposed by the individual modules on
// which they are most relevant.
// Deprecation Code: DEP0008
-const constants = process.binding('constants');
+const constants = internalBinding('constants');
Object.assign(exports,
constants.os.dlopen,
constants.os.errno,