summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c4
-rw-r--r--mandoc.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 047b08e3..129675aa 100644
--- a/main.c
+++ b/main.c
@@ -97,7 +97,7 @@ struct curparse {
static const char * const mandocerrs[MANDOCERR_MAX] = {
"ok",
"text should be uppercase",
- "sections out of conentional order",
+ "sections out of conventional order",
"section name repeats",
"out of order prologue",
"repeated prologue entry",
@@ -110,7 +110,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"superfluous width argument",
"bad date argument",
"bad width argument",
- "unknown manual sction",
+ "unknown manual section",
"section not in conventional manual section",
"end of line whitespace",
"scope open on exit",
diff --git a/mandoc.h b/mandoc.h
index bf11985a..79776202 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -26,7 +26,7 @@ __BEGIN_DECLS
enum mandocerr {
MANDOCERR_OK,
MANDOCERR_UPPERCASE, /* text should be uppercase */
- MANDOCERR_SECOOO, /* sections out of conentional order */
+ MANDOCERR_SECOOO, /* sections out of conventional order */
MANDOCERR_SECREP, /* section name repeats */
MANDOCERR_PROLOGOOO, /* out of order prologue */
MANDOCERR_PROLOGREP, /* repeated prologue entry */
@@ -39,7 +39,7 @@ enum mandocerr {
MANDOCERR_WIDTHARG, /* superfluous width argument */
MANDOCERR_BADDATE, /* bad date argument */
MANDOCERR_BADWIDTH, /* bad width argument */
- MANDOCERR_BADMSEC, /* unknown manual sction */
+ MANDOCERR_BADMSEC, /* unknown manual section */
MANDOCERR_SECMSEC, /* section not in conventional manual section */
MANDOCERR_EOLNSPACE, /* end of line whitespace */
MANDOCERR_SCOPEEXIT, /* scope open on exit */