Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.js')
-rw-r--r--lib/util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.js b/lib/util.js
index 500cbaad8a7..07d14213994 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -72,13 +72,13 @@ exports.puts = function() {
exports.debug = function(x) {
- process.binding('stdio').writeError('DEBUG: ' + x + '\n');
+ process.writeError('DEBUG: ' + x + '\n');
};
var error = exports.error = function(x) {
for (var i = 0, len = arguments.length; i < len; ++i) {
- process.binding('stdio').writeError(arguments[i] + '\n');
+ process.writeError(arguments[i] + '\n');
}
};