fix various typos in comments and one output message.

netbsd-10
andvar 2022-10-31 21:22:05 +00:00
parent 9265b35916
commit 8a36802c94
7 changed files with 18 additions and 18 deletions

View File

@ -1,8 +1,8 @@
/* $NetBSD: path.c,v 1.13 2017/06/30 03:56:12 kamil Exp $ */
/* $NetBSD: path.c,v 1.14 2022/10/31 21:22:05 andvar Exp $ */
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: path.c,v 1.13 2017/06/30 03:56:12 kamil Exp $");
__RCSID("$NetBSD: path.c,v 1.14 2022/10/31 21:22:05 andvar Exp $");
#endif
#include <sys/stat.h>
@ -296,7 +296,7 @@ main(argc, argv)
rv = make_path(pwd, file, &cp, result, sizeof(result));
printf("make_path returns (%d), \"%s\" ", rv, result);
simplify_path(result);
printf("(simpifies to \"%s\")\n", result);
printf("(simplifies to \"%s\")\n", result);
} while (cp);
}
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: route_rumpops.c,v 1.3 2020/04/03 16:20:52 martin Exp $ */
/* $NetBSD: route_rumpops.c,v 1.4 2022/10/31 21:22:05 andvar Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: route_rumpops.c,v 1.3 2020/04/03 16:20:52 martin Exp $");
__RCSID("$NetBSD: route_rumpops.c,v 1.4 2022/10/31 21:22:05 andvar Exp $");
#endif /* !lint */
#include <sys/types.h>
@ -60,7 +60,7 @@ const struct prog_ops prog_ops = {
/*
* The following are only indirected through ops because
* santizers get confused otherwise.
* sanitizers get confused otherwise.
*/
.op_sysctlbyname = sysctlbyname,

View File

@ -1,4 +1,4 @@
/* $NetBSD: pxa2x0_apm.c,v 1.8 2022/02/12 15:51:28 thorpej Exp $ */
/* $NetBSD: pxa2x0_apm.c,v 1.9 2022/10/31 21:22:05 andvar Exp $ */
/* $OpenBSD: pxa2x0_apm.c,v 1.28 2007/03/29 18:42:38 uwe Exp $ */
/*-
@ -1398,7 +1398,7 @@ struct {
int maxspeed;
int numspeeds;
int hz [6];
int rate [6]; /* could this be simplfied by not having 100% in table? */
int rate [6]; /* could this be simplified by not having 100% in table? */
}
speedtables[] = {
{ 91, 1, { 91 }, { 100 }},

View File

@ -1,4 +1,4 @@
/* $NetBSD: pxa2x0_intr.c,v 1.24 2022/09/27 06:36:43 skrll Exp $ */
/* $NetBSD: pxa2x0_intr.c,v 1.25 2022/10/31 21:22:05 andvar Exp $ */
/*
* Copyright (c) 2002 Genetec Corporation. All rights reserved.
@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pxa2x0_intr.c,v 1.24 2022/09/27 06:36:43 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: pxa2x0_intr.c,v 1.25 2022/10/31 21:22:05 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -162,7 +162,7 @@ pxa2x0_irq_handler(void *arg)
irqbits = read_icu(SAIPIC_IP);
while ((irqno = find_first_bit(irqbits)) >= 0) {
/* XXX: Shuould we handle IRQs in priority order? */
/* XXX: Should we handle IRQs in priority order? */
/* raise spl to stop interrupts of lower priorities */
if (saved_spl_level < extirq_level[irqno])

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_mue.c,v 1.82 2022/08/20 14:08:59 riastradh Exp $ */
/* $NetBSD: if_mue.c,v 1.83 2022/10/31 21:22:06 andvar Exp $ */
/* $OpenBSD: if_mue.c,v 1.3 2018/08/04 16:42:46 jsg Exp $ */
/*
@ -20,7 +20,7 @@
/* Driver for Microchip LAN7500/LAN7800 chipsets. */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_mue.c,v 1.82 2022/08/20 14:08:59 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_mue.c,v 1.83 2022/10/31 21:22:06 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@ -732,7 +732,7 @@ mue_get_macaddr(struct usbnet *un, prop_dictionary_t dict)
/*
* Other MD methods. This should be tried only if other methods fail.
* Otherwise, MAC address for internal device can be assinged to
* Otherwise, MAC address for internal device can be assigned to
* external devices on Raspberry Pi, for example.
*/
eaprop = prop_dictionary_get(dict, "mac-address");

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_subr.c,v 1.171 2022/05/28 21:14:57 andvar Exp $ */
/* $NetBSD: udf_subr.c,v 1.172 2022/10/31 21:22:06 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.171 2022/05/28 21:14:57 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.172 2022/10/31 21:22:06 andvar Exp $");
#endif /* not lint */
@ -5520,7 +5520,7 @@ udf_loadvnode(struct mount *mp, struct vnode *vp,
/*
* Remember where to record an updated version of the descriptor. If
* there is a sequence of indirect entries, icb_loc will have been
* updated. Its the write disipline to allocate new space and to make
* updated. It's the write discipline to allocate new space and to make
* sure the chain is maintained.
*
* `needs_indirect' flags if the next location is to be filled with

View File

@ -252,7 +252,7 @@ get_routes(const struct interface *iface)
}
/* Some DHCP servers add set host routes by setting the gateway
* to the assinged IP address. This differs from our notion of a host route
* to the assigned IP address. This differs from our notion of a host route
* where the gateway is the destination address, so we fix it. */
static struct rt *
massage_host_routes(struct rt *rt, const struct interface *iface)