diff options
author | Rebecca Cran <brucec@FreeBSD.org> | 2010-11-09 10:59:09 +0000 |
---|---|---|
committer | Rebecca Cran <brucec@FreeBSD.org> | 2010-11-09 10:59:09 +0000 |
commit | b1ce21c6efcf01904c5ae425327bfeca3c1b47b5 (patch) | |
tree | de27851d14573db38e387b4520440178ecc95fa9 /usr.bin/seq | |
parent | d6cb4126e3505ea73fd0760d906d27123e8240bf (diff) | |
download | src-b1ce21c6efcf01904c5ae425327bfeca3c1b47b5.tar.gz src-b1ce21c6efcf01904c5ae425327bfeca3c1b47b5.zip |
Notes
Diffstat (limited to 'usr.bin/seq')
-rw-r--r-- | usr.bin/seq/seq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/seq/seq.c b/usr.bin/seq/seq.c index f94ca0051755..c18c76caa9a3 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 * |