summaryrefslogtreecommitdiffstats
path: root/usr.bin/seq
diff options
context:
space:
mode:
authorbrucec <brucec@FreeBSD.org>2010-11-09 10:59:09 +0000
committerbrucec <brucec@FreeBSD.org>2010-11-09 10:59:09 +0000
commit696c4e1f9bb4cd204d25faf22eb312c82fe3ad48 (patch)
treede27851d14573db38e387b4520440178ecc95fa9 /usr.bin/seq
parent95d0fe5a467ecc88abd03b0dc9f03c79ac39bc2a (diff)
downloadFreeBSD-src-696c4e1f9bb4cd204d25faf22eb312c82fe3ad48.zip
FreeBSD-src-696c4e1f9bb4cd204d25faf22eb312c82fe3ad48.tar.gz
Fix typos.
PR: bin/148894 Submitted by: olgeni
Diffstat (limited to 'usr.bin/seq')
-rw-r--r--usr.bin/seq/seq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/seq/seq.c b/usr.bin/seq/seq.c
index f94ca00..c18c76c 100644
--- a/usr.bin/seq/seq.c
+++ b/usr.bin/seq/seq.c
@@ -251,7 +251,7 @@ valid_format(const char *fmt)
fmt++;
break;
}
- /* flags, width and precsision */
+ /* flags, width and precision */
if (isdigit((unsigned char)*fmt) ||
strchr("+- 0#.", *fmt))
continue;
@@ -329,7 +329,7 @@ unescape(char *orig)
*orig = c;
--cp;
continue;
- case 'x': /* hexidecimal number */
+ case 'x': /* hexadecimal number */
cp++; /* skip 'x' */
for (i = 0, c = 0;
isxdigit((unsigned char)*cp) && i < 2;
@@ -402,7 +402,7 @@ decimal_places(const char *number)
/*
* generate_format - create a format string
*
- * XXX to be bug for bug compatable with Plan9 and GNU return "%g"
+ * XXX to be bug for bug compatible with Plan9 and GNU return "%g"
* when "%g" prints as "%e" (this way no width adjustments are made)
*/
char *
OpenPOWER on IntegriCloud