doc: fix typos in cluster & errors

PR-URL: https://github.com/nodejs/node/pull/3011
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
This commit is contained in:
reggi 2015-09-22 16:48:53 -04:00 committed by Roman Reiss
parent 5ac5419c0b
commit ffdbe9d4f1
2 changed files with 2 additions and 2 deletions

View File

@ -563,7 +563,7 @@ in the master process using the message system:
console.log("numReqs =", numReqs); console.log("numReqs =", numReqs);
}, 1000); }, 1000);
// Count requestes // Count requests
function messageHandler(msg) { function messageHandler(msg) {
if (msg.cmd && msg.cmd == 'notifyRequest') { if (msg.cmd && msg.cmd == 'notifyRequest') {
numReqs += 1; numReqs += 1;

View File

@ -308,7 +308,7 @@ An operation expected a file, but the given pathname was a directory.
#### EMFILE: Too many open files in system #### EMFILE: Too many open files in system
Maxiumum number of [file descriptors](http://en.wikipedia.org/wiki/File_descriptor) allowable on the system has Maximum number of [file descriptors](http://en.wikipedia.org/wiki/File_descriptor) allowable on the system has
been reached, and requests for another descriptor cannot be fulfilled until been reached, and requests for another descriptor cannot be fulfilled until
at least one has been closed. at least one has been closed.