Module Name: src
Committed By: ginsbach
Date: Sun Oct 29 00:02:23 UTC 2017
Modified Files:
src/usr.bin/seq: seq.c
Log Message:
Fix typos (from FreeBSD)
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/seq/seq.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/seq/seq.c
diff -u src/usr.bin/seq/seq.c:1.8 src/usr.bin/seq/seq.c:1.9
--- src/usr.bin/seq/seq.c:1.8 Mon Sep 5 00:40:29 2016
+++ src/usr.bin/seq/seq.c Sun Oct 29 00:02:23 2017
@@ -31,7 +31,7 @@
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 2005\
The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: seq.c,v 1.8 2016/09/05 00:40:29 sevan Exp $");
+__RCSID("$NetBSD: seq.c,v 1.9 2017/10/29 00:02:23 ginsbach Exp $");
#endif /* not lint */
#include <ctype.h>
@@ -349,7 +349,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;
@@ -422,7 +422,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 *