Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/seq Fix typos (from FreeBSD)



details:   https://anonhg.NetBSD.org/src/rev/e5973d5229ad
branches:  trunk
changeset: 827455:e5973d5229ad
user:      ginsbach <ginsbach%NetBSD.org@localhost>
date:      Sun Oct 29 00:02:23 2017 +0000

description:
Fix typos (from FreeBSD)

diffstat:

 usr.bin/seq/seq.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 90721b89cc1d -r e5973d5229ad usr.bin/seq/seq.c
--- a/usr.bin/seq/seq.c Sat Oct 28 22:59:27 2017 +0000
+++ b/usr.bin/seq/seq.c Sun Oct 29 00:02:23 2017 +0000
@@ -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 @@
                        *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 @@
 /*
  * 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 *



Home | Main Index | Thread Index | Old Index