aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-09-16 16:23:08 +0200
committerTuncer Ayaz <[email protected]>2011-09-16 16:23:08 +0200
commit85b7372843cd20cb8d0733ffa2c7b2e0d3934912 (patch)
treedf96bf6baeac6ada457cf33d9dbe888923c1524f
parent067b7a98111f22eeff11e4b2e75af11da0b09f8e (diff)
downloadotp-85b7372843cd20cb8d0733ffa2c7b2e0d3934912.tar.gz
otp-85b7372843cd20cb8d0733ffa2c7b2e0d3934912.tar.bz2
otp-85b7372843cd20cb8d0733ffa2c7b2e0d3934912.zip
Fix misspelling of intermediate
-rw-r--r--erts/doc/src/alt_dist.xml2
-rw-r--r--lib/kernel/examples/uds_dist/c_src/uds_drv.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/erts/doc/src/alt_dist.xml b/erts/doc/src/alt_dist.xml
index 36d83a685b..c30e04fce7 100644
--- a/erts/doc/src/alt_dist.xml
+++ b/erts/doc/src/alt_dist.xml
@@ -377,7 +377,7 @@
( 1) typedef enum {
( 2) portTypeUnknown, /* An uninitialized port */
( 3) portTypeListener, /* A listening port/socket */
-( 4) portTypeAcceptor, /* An intermidiate stage when accepting
+( 4) portTypeAcceptor, /* An intermediate stage when accepting
( 5) on a listen port */
( 6) portTypeConnector, /* An intermediate stage when connecting */
( 7) portTypeCommand, /* A connected open port in command mode */
diff --git a/lib/kernel/examples/uds_dist/c_src/uds_drv.c b/lib/kernel/examples/uds_dist/c_src/uds_drv.c
index a4bcd81240..9327ab19dc 100644
--- a/lib/kernel/examples/uds_dist/c_src/uds_drv.c
+++ b/lib/kernel/examples/uds_dist/c_src/uds_drv.c
@@ -111,7 +111,7 @@ do { \
typedef enum {
portTypeUnknown, /* An uninitialized port */
portTypeListener, /* A listening port/socket */
- portTypeAcceptor, /* An intermidiate stage when accepting
+ portTypeAcceptor, /* An intermediate stage when accepting
on a listen port */
portTypeConnector, /* An intermediate stage when connecting */
portTypeCommand, /* A connected open port in command mode */
@@ -401,7 +401,7 @@ static void uds_finish(void)
/*
** Protocol to control:
** 'C': Set port in command mode.
-** 'I': Set port in intermidiate mode
+** 'I': Set port in intermediate mode
** 'D': Set port in data mode
** 'N': Get identification number for listen port
** 'S': Get statistics