Module Name: src
Committed By: andvar
Date: Sun Jun 2 11:44:29 UTC 2024
Modified Files:
src/share/doc/smm/17.password: password.ms
src/usr.bin/ypcat: ypalias_init.c
Log Message:
Fix triple l typos in warning message and documentation.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/doc/smm/17.password/password.ms
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/ypcat/ypalias_init.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/doc/smm/17.password/password.ms
diff -u src/share/doc/smm/17.password/password.ms:1.1 src/share/doc/smm/17.password/password.ms:1.2
--- src/share/doc/smm/17.password/password.ms:1.1 Thu Nov 29 12:35:05 2007
+++ src/share/doc/smm/17.password/password.ms Sun Jun 2 11:44:29 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: password.ms,v 1.1 2007/11/29 12:35:05 mjf Exp $
+.\" $NetBSD: password.ms,v 1.2 2024/06/02 11:44:29 andvar Exp $
.\"
.\" Copyright (C) Caldera International Inc. 2001-2002.
.\" All rights reserved.
@@ -325,7 +325,7 @@ found.
.PP
Another profitable approach for the bad guy is to use the word
list from a dictionary or to use a list of names.
-For example, a large commercial dictionary contains typicallly about
+For example, a large commercial dictionary contains typically about
250,000 words; these words can be checked in about five minutes.
Again, a noticeable fraction of any collection of passwords
will be found.
Index: src/usr.bin/ypcat/ypalias_init.c
diff -u src/usr.bin/ypcat/ypalias_init.c:1.2 src/usr.bin/ypcat/ypalias_init.c:1.3
--- src/usr.bin/ypcat/ypalias_init.c:1.2 Sat Oct 30 08:56:54 2021
+++ src/usr.bin/ypcat/ypalias_init.c Sun Jun 2 11:44:29 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: ypalias_init.c,v 1.2 2021/10/30 08:56:54 nia Exp $ */
+/* $NetBSD: ypalias_init.c,v 1.3 2024/06/02 11:44:29 andvar Exp $ */
/*
* Copyright (c) 2009 The NetBSD Foundation
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ypalias_init.c,v 1.2 2021/10/30 08:56:54 nia Exp $");
+__RCSID("$NetBSD: ypalias_init.c,v 1.3 2024/06/02 11:44:29 andvar Exp $");
#endif
#include <err.h>
@@ -105,7 +105,7 @@ ypalias_init(void)
if (reallocarr(&ypa, i, sizeof(*ypa)) == 0)
return ypa;
out:
- warn("Cannot alllocate alias space, returning default list");
+ warn("Cannot allocate alias space, returning default list");
if (ypa) {
do
free(__UNCONST(ypa[--i].alias));