fix few typos in comments.

This commit is contained in:
andvar 2022-01-11 22:45:56 +00:00
parent d76ef06303
commit c11ca9eaa9
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pq3pci.c,v 1.29 2021/08/07 16:19:02 thorpej Exp $ */
/* $NetBSD: pq3pci.c,v 1.30 2022/01/11 22:45:56 andvar Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@ -39,7 +39,7 @@
#define __INTR_PRIVATE
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pq3pci.c,v 1.29 2021/08/07 16:19:02 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: pq3pci.c,v 1.30 2022/01/11 22:45:56 andvar Exp $");
#include "locators.h"
@ -1690,8 +1690,8 @@ pq3pci_conf_interrupt(void *v, int bus, int dev, int pin, int swiz, int *iline)
* This function is used by device drivers like pci_intr_map().
*
* "ihps" is the array of vector numbers which MSI used instead of IRQ number.
* "count" must be powr of 2.
* "count" can decrease if sturct intrsource cannot be allocated.
* "count" must be power of 2.
* "count" can decrease if struct intrsource cannot be allocated.
* if count == 0, return non-zero value.
*/
static int

View File

@ -1,4 +1,4 @@
/* $NetBSD: rpc_parse.c,v 1.22 2016/01/23 02:33:09 dholland Exp $ */
/* $NetBSD: rpc_parse.c,v 1.23 2022/01/11 22:45:56 andvar Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)rpc_parse.c 1.8 89/02/22 (C) 1987 SMI";
#else
__RCSID("$NetBSD: rpc_parse.c,v 1.22 2016/01/23 02:33:09 dholland Exp $");
__RCSID("$NetBSD: rpc_parse.c,v 1.23 2022/01/11 22:45:56 andvar Exp $");
#endif
#endif
@ -184,7 +184,7 @@ def_program(definition *defp)
num_args = 1;
isvoid = FALSE;
/* type of DEF_PROGRAM in the first
* get_prog_declaration and DEF_STURCT in the next
* get_prog_declaration and DEF_STRUCT in the next
* allows void as argument if it is the only argument */
get_prog_declaration(&dec, DEF_PROGRAM, num_args);
if (streq(dec.type, "void"))