Source-Changes-HG archive

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

[src/trunk]: src/tests/usr.bin/xlint/lint1 tests/lint: fix typo in comment



details:   https://anonhg.NetBSD.org/src/rev/988f4d53587e
branches:  trunk
changeset: 373077:988f4d53587e
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Jan 16 00:37:59 2023 +0000

description:
tests/lint: fix typo in comment

diffstat:

 tests/usr.bin/xlint/lint1/expr_sizeof.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 08ca652590b6 -r 988f4d53587e tests/usr.bin/xlint/lint1/expr_sizeof.c
--- a/tests/usr.bin/xlint/lint1/expr_sizeof.c   Mon Jan 16 00:23:55 2023 +0000
+++ b/tests/usr.bin/xlint/lint1/expr_sizeof.c   Mon Jan 16 00:37:59 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: expr_sizeof.c,v 1.3 2023/01/15 13:55:06 rillig Exp $   */
+/*     $NetBSD: expr_sizeof.c,v 1.4 2023/01/16 00:37:59 rillig Exp $   */
 # 3 "expr_sizeof.c"
 
 /*
@@ -65,7 +65,7 @@
 
        /*
         * Since the array length is not constant, it cannot be used in a
-        * typedef.  Code like this are already rejected by the compiler.  For
+        * typedef.  Code like this is already rejected by the compiler.  For
         * simplicity, lint assumes that the array has length 1.
         */
        /* expect+1: error: negative array dimension (-4) [20] */



Home | Main Index | Thread Index | Old Index