aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/examples/uds_dist/c_src
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2011-09-20 10:36:07 +0200
committerHenrik Nord <[email protected]>2011-09-20 10:36:11 +0200
commit1f7377287bb8563a0fbf9eff1478462fb86618f0 (patch)
tree1f26ed825f2580f453fceabf6ecdcf854e398dc5 /lib/kernel/examples/uds_dist/c_src
parent4b18ef90369c52a9344b851025519f397ccb8543 (diff)
parent85b7372843cd20cb8d0733ffa2c7b2e0d3934912 (diff)
downloadotp-1f7377287bb8563a0fbf9eff1478462fb86618f0.tar.gz
otp-1f7377287bb8563a0fbf9eff1478462fb86618f0.tar.bz2
otp-1f7377287bb8563a0fbf9eff1478462fb86618f0.zip
Merge branch 'ta/docs-fixes' into dev
* ta/docs-fixes: Fix misspelling of intermediate Fix typos in erts/preloaded/src Fix more misspellings of compatibility Fix misspelling of kept Fix misspelling of compatibility in ssl_basic_SUITE Fix misspelling of compatibility Fix misspelling of accommodate Fix misspelling of exceed Fix misspelling of accidentally Fix misspelling of erroneous in xmerl_xsd Fix misspelling of erroneous Fix misspelling of successful Fix typos in instrument(3) Fix typos in dbg(3) dialyzer: fix a small typo in list_to_bitstring test Fix typos in cover.erl Fix typos (variable name) in erl_nif(3) Fix typos in mod_esi(3) Fix trivial typos in erlang(3) OTP-9555
Diffstat (limited to 'lib/kernel/examples/uds_dist/c_src')
-rw-r--r--lib/kernel/examples/uds_dist/c_src/uds_drv.c6
1 files changed, 3 insertions, 3 deletions
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 fb10a375f4..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
@@ -1000,7 +1000,7 @@ static int ensure_dir(char *path)
/*
** Try to open a lock file and lock the first byte write-only (advisory)
-** return the file descriptor if succesful, otherwise -1 (<0).
+** return the file descriptor if successful, otherwise -1 (<0).
*/
static int try_lock(char *sockname, Byte *p_creation)
{