Source-Changes-HG archive

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

[src/trunk]: src/bin/expr Fix typo



details:   https://anonhg.NetBSD.org/src/rev/47cf23f1bc91
branches:  trunk
changeset: 934410:47cf23f1bc91
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Jun 11 13:08:07 2020 +0000

description:
Fix typo

diffstat:

 bin/expr/expr.y |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 18fb3580c397 -r 47cf23f1bc91 bin/expr/expr.y
--- a/bin/expr/expr.y   Thu Jun 11 11:40:54 2020 +0000
+++ b/bin/expr/expr.y   Thu Jun 11 13:08:07 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: expr.y,v 1.45 2018/06/27 17:23:36 kamil Exp $ */
+/* $NetBSD: expr.y,v 1.46 2020/06/11 13:08:07 kamil Exp $ */
 
 /*_
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 %{
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: expr.y,v 1.45 2018/06/27 17:23:36 kamil Exp $");
+__RCSID("$NetBSD: expr.y,v 1.46 2020/06/11 13:08:07 kamil Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -361,7 +361,7 @@
                        r = -r;
                }
 
-               /* - remove the case of legative l and positive r */
+               /* - remove the case of negative l and positive r */
                if (l < 0 && r >= 0) {
                        /* Use res as a temporary variable */
                        res = l;



Home | Main Index | Thread Index | Old Index