Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libutil Correct typos in comments
details: https://anonhg.NetBSD.org/src/rev/13bac1a1b577
branches: trunk
changeset: 341292:13bac1a1b577
user: kamil <kamil%NetBSD.org@localhost>
date: Thu Oct 29 20:29:24 2015 +0000
description:
Correct typos in comments
Pointed out by Edgar Fuss and J. Lewis Muir.
diffstat:
lib/libutil/login_cap.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 4466173573d3 -r 13bac1a1b577 lib/libutil/login_cap.c
--- a/lib/libutil/login_cap.c Thu Oct 29 19:18:32 2015 +0000
+++ b/lib/libutil/login_cap.c Thu Oct 29 20:29:24 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: login_cap.c,v 1.32 2015/07/11 09:21:22 kamil Exp $ */
+/* $NetBSD: login_cap.c,v 1.33 2015/10/29 20:29:24 kamil Exp $ */
/*-
* Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved.
@@ -36,7 +36,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: login_cap.c,v 1.32 2015/07/11 09:21:22 kamil Exp $");
+__RCSID("$NetBSD: login_cap.c,v 1.33 2015/10/29 20:29:24 kamil Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -934,7 +934,7 @@
/*
* First check the magnitude of each number. If the sum of the
- * magnatude is way to high, reject the number. (If this test
+ * magnitude is to high, reject the number. (If this test
* is not done then the first multiply below may overflow.)
*/
for (b1 = bpw; (((u_quad_t)1 << (b1-1)) & n1) == 0; --b1)
@@ -963,7 +963,7 @@
* overflow.
*
* Finally, if MAX - ((h1 * l2) + (l1 * h2) + (l1 * l2)) < (h1*h2)
- * then adding in residual amout will cause an overflow.
+ * then adding in residual amount will cause an overflow.
*/
m = (n1 >> 1) * (n2 >> 1);
Home |
Main Index |
Thread Index |
Old Index