Module Name:    src
Committed By:   andvar
Date:           Tue Jan 11 22:45:56 UTC 2022

Modified Files:
        src/sys/arch/powerpc/booke/pci: pq3pci.c
        src/usr.bin/rpcgen: rpc_parse.c

Log Message:
fix few typos in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/powerpc/booke/pci/pq3pci.c
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/rpcgen/rpc_parse.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/booke/pci/pq3pci.c
diff -u src/sys/arch/powerpc/booke/pci/pq3pci.c:1.29 src/sys/arch/powerpc/booke/pci/pq3pci.c:1.30
--- src/sys/arch/powerpc/booke/pci/pq3pci.c:1.29	Sat Aug  7 16:19:02 2021
+++ src/sys/arch/powerpc/booke/pci/pq3pci.c	Tue Jan 11 22:45:56 2022
@@ -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, 
  * 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

Index: src/usr.bin/rpcgen/rpc_parse.c
diff -u src/usr.bin/rpcgen/rpc_parse.c:1.22 src/usr.bin/rpcgen/rpc_parse.c:1.23
--- src/usr.bin/rpcgen/rpc_parse.c:1.22	Sat Jan 23 02:33:09 2016
+++ src/usr.bin/rpcgen/rpc_parse.c	Tue Jan 11 22:45:56 2022
@@ -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"))

Reply via email to