summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/arpa/telnet.h4
-rw-r--r--inet/protocols/talkd.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/inet/arpa/telnet.h b/inet/arpa/telnet.h
index 10155a84a8..17255a1c7b 100644
--- a/inet/arpa/telnet.h
+++ b/inet/arpa/telnet.h
@@ -96,7 +96,7 @@ extern char *telcmds[];
 #define TELOPT_NAOVTS	14	/* negotiate about vertical tab stops */
 #define TELOPT_NAOVTD	15	/* negotiate about vertical tab disposition */
 #define TELOPT_NAOLFD	16	/* negotiate about output LF disposition */
-#define TELOPT_XASCII	17	/* extended ascic character set */
+#define TELOPT_XASCII	17	/* extended ascii character set */
 #define	TELOPT_LOGOUT	18	/* force logout */
 #define	TELOPT_BM	19	/* byte macro */
 #define	TELOPT_DET	20	/* data entry terminal */
@@ -200,7 +200,7 @@ char *telopts[NTELOPTS+1] = {
 #define	NSLC		18
 
 /*
- * For backwards compatability, we define SLC_NAMES to be the
+ * For backwards compatibility, we define SLC_NAMES to be the
  * list of names if SLC_NAMES is not defined.
  */
 #define	SLC_NAMELIST	"0", "SYNCH", "BRK", "IP", "AO", "AYT", "EOR", \
diff --git a/inet/protocols/talkd.h b/inet/protocols/talkd.h
index c523bf590d..6d893adfb5 100644
--- a/inet/protocols/talkd.h
+++ b/inet/protocols/talkd.h
@@ -81,7 +81,7 @@ typedef struct {
 typedef struct {
 	u_char	vers;		/* protocol version */
 	u_char	type;		/* type of request message, see below */
-	u_char	answer;		/* respose to request message, see below */
+	u_char	answer;		/* response to request message, see below */
 	u_char	pad;
 	u_int32_t id_num;	/* message id */
 	struct	osockaddr addr;	/* address for establishing conversation */