Module Name:    src
Committed By:   kamil
Date:           Thu Jun 11 13:08:08 UTC 2020

Modified Files:
        src/bin/expr: expr.y

Log Message:
Fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/bin/expr/expr.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/expr/expr.y
diff -u src/bin/expr/expr.y:1.45 src/bin/expr/expr.y:1.46
--- src/bin/expr/expr.y:1.45	Wed Jun 27 17:23:36 2018
+++ src/bin/expr/expr.y	Thu Jun 11 13:08:07 2020
@@ -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 @@ perform_arith_op(const char *left, const
 			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;

Reply via email to