Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/rpcgen fix few typos in comments.
details: https://anonhg.NetBSD.org/src/rev/c3057e43f59f
branches: trunk
changeset: 359591:c3057e43f59f
user: andvar <andvar%NetBSD.org@localhost>
date: Tue Jan 11 22:45:56 2022 +0000
description:
fix few typos in comments.
diffstat:
sys/arch/powerpc/booke/pci/pq3pci.c | 8 ++++----
usr.bin/rpcgen/rpc_parse.c | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (56 lines):
diff -r 563228cf214c -r c3057e43f59f sys/arch/powerpc/booke/pci/pq3pci.c
--- a/sys/arch/powerpc/booke/pci/pq3pci.c Tue Jan 11 22:32:44 2022 +0000
+++ b/sys/arch/powerpc/booke/pci/pq3pci.c Tue Jan 11 22:45:56 2022 +0000
@@ -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 @@
* 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
diff -r 563228cf214c -r c3057e43f59f usr.bin/rpcgen/rpc_parse.c
--- a/usr.bin/rpcgen/rpc_parse.c Tue Jan 11 22:32:44 2022 +0000
+++ b/usr.bin/rpcgen/rpc_parse.c Tue Jan 11 22:45:56 2022 +0000
@@ -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 @@
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"))
Home |
Main Index |
Thread Index |
Old Index