From 696c4e1f9bb4cd204d25faf22eb312c82fe3ad48 Mon Sep 17 00:00:00 2001 From: brucec Date: Tue, 9 Nov 2010 10:59:09 +0000 Subject: Fix typos. PR: bin/148894 Submitted by: olgeni --- usr.bin/seq/seq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin') 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 * -- cgit v1.1