s/addreseses/addresses/ in comments (and one missing whitespace).

This commit is contained in:
andvar 2024-01-03 18:10:42 +00:00
parent 0508191ec6
commit 13c9a1af85
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ifconfig.c,v 1.249 2022/11/25 08:41:05 knakahara Exp $ */
/* $NetBSD: ifconfig.c,v 1.250 2024/01/03 18:10:42 andvar Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
@ -63,7 +63,7 @@
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1983, 1993\
The Regents of the University of California. All rights reserved.");
__RCSID("$NetBSD: ifconfig.c,v 1.249 2022/11/25 08:41:05 knakahara Exp $");
__RCSID("$NetBSD: ifconfig.c,v 1.250 2024/01/03 18:10:42 andvar Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -751,8 +751,8 @@ main(int argc, char **argv)
*
* -a means "print status of all interfaces".
*
* -w means "spin until DAD completes for all addreseses", and is
* mutually exclusivewith all other flags/commands.
* -w means "spin until DAD completes for all addresses", and is
* mutually exclusive with all other flags/commands.
*/
if ((lflag || Cflag || wflag) &&
(aflag || get_flag('m') || vflag || zflag))

View File

@ -1,4 +1,4 @@
/* $NetBSD: uipc_socket2.c,v 1.142 2022/10/26 23:38:09 riastradh Exp $ */
/* $NetBSD: uipc_socket2.c,v 1.143 2024/01/03 18:10:42 andvar Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uipc_socket2.c,v 1.142 2022/10/26 23:38:09 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: uipc_socket2.c,v 1.143 2024/01/03 18:10:42 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@ -1202,7 +1202,7 @@ sbappendaddrchain(struct sockbuf *sb, const struct sockaddr *asa,
bad:
/*
* On error, free the prepended addreseses. For consistency
* On error, free the prepended addresses. For consistency
* with sbappendaddr(), leave it to our caller to free
* the input record chain passed to us as m0.
*/