aboutsummaryrefslogtreecommitdiffstats
path: root/erts/epmd/src/epmd.c
diff options
context:
space:
mode:
authorChris Dituri <[email protected]>2014-08-15 22:38:26 -0500
committerMarcus Arendt <[email protected]>2014-09-15 15:22:59 +0200
commit6ace9a5b381fcd6e6efb4d45edeb70f566e24f93 (patch)
tree4f71d331712de7d02b952c5a876582b561af56eb /erts/epmd/src/epmd.c
parent6ae71a42e83fc2f47c7fea4fe11efbc5a469d1c0 (diff)
downloadotp-6ace9a5b381fcd6e6efb4d45edeb70f566e24f93.tar.gz
otp-6ace9a5b381fcd6e6efb4d45edeb70f566e24f93.tar.bz2
otp-6ace9a5b381fcd6e6efb4d45edeb70f566e24f93.zip
epmd: pedantic spelling fix in comments
Correct spelling errors in the run_daemon() comments which describe the redirection of stdin, stdout, and stderr to /dev/null for safety reasons.
Diffstat (limited to 'erts/epmd/src/epmd.c')
-rw-r--r--erts/epmd/src/epmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/epmd/src/epmd.c b/erts/epmd/src/epmd.c
index 9630e0cdf0..0823dcaa4e 100644
--- a/erts/epmd/src/epmd.c
+++ b/erts/epmd/src/epmd.c
@@ -345,7 +345,7 @@ static void run_daemon(EpmdVars *g)
inform it of that the log is closed. */
closelog();
- /* These chouldn't be needed but for safety... */
+ /* These shouldn't be needed but for safety... */
open("/dev/null", O_RDONLY); /* Order is important! */
open("/dev/null", O_WRONLY);
@@ -386,7 +386,7 @@ static void run_daemon(EpmdVars *g)
close(1);
close(2);
- /* These chouldn't be needed but for safety... */
+ /* These shouldn't be needed but for safety... */
open("nul", O_RDONLY);
open("nul", O_WRONLY);