Source-Changes-HG archive

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

[src/trunk]: src/share/misc fix spelling mistakes



details:   https://anonhg.NetBSD.org/src/rev/bae14ede058b
branches:  trunk
changeset: 345379:bae14ede058b
user:      salazar <salazar%NetBSD.org@localhost>
date:      Mon May 23 11:41:06 2016 +0000

description:
fix spelling mistakes

diffstat:

 share/misc/style |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 1650c9704efd -r bae14ede058b share/misc/style
--- a/share/misc/style  Mon May 23 04:07:29 2016 +0000
+++ b/share/misc/style  Mon May 23 11:41:06 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.52 2015/10/24 15:46:09 christos Exp $ */
+/* $NetBSD: style,v 1.53 2016/05/23 11:41:06 salazar Exp $ */
 
 /*
  * The revision control tag appears first, with a blank line after it.
@@ -30,7 +30,7 @@
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2008\
  The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: style,v 1.52 2015/10/24 15:46:09 christos Exp $");
+__RCSID("$NetBSD: style,v 1.53 2016/05/23 11:41:06 salazar Exp $");
 
 /*
  * VERY important single-line comments look like this.
@@ -367,7 +367,7 @@
         * where we don't have control over the NULL definition (on NetBSD
         * it is defined as ((void *)0), but on other systems it can be
         * defined as (0) and both definitions are valid under ANSI C), it
-        * it advised to cast NULL to a pointer on varyadic functions,
+        * it advised to cast NULL to a pointer on variadic functions,
         * because on machines where sizeof(pointer) != sizeof(int) and in
         * the absence of a prototype in scope, passing an un-casted NULL,
         * will result in passing an int on the stack instead of a pointer.
@@ -414,7 +414,7 @@
                err(1, "Unable to stat %s", p);
 
        /*
-        * To printf quantities that might be larger that "long", include
+        * To printf quantities that might be larger than "long", include
         * <inttypes.h>, cast quantities to intmax_t or uintmax_t and use
         * PRI?MAX constants.
         */



Home | Main Index | Thread Index | Old Index