Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ppbus fix few typos in comments and log message.
details: https://anonhg.NetBSD.org/src/rev/52bcd9623774
branches: trunk
changeset: 1026255:52bcd9623774
user: andvar <andvar%NetBSD.org@localhost>
date: Sun Nov 14 20:51:57 2021 +0000
description:
fix few typos in comments and log message.
diffstat:
common/lib/libc/gen/rpst.c | 8 ++++----
sys/dev/ic/dwiic.c | 6 +++---
sys/dev/ppbus/ppbus_1284.c | 8 ++++----
3 files changed, 11 insertions(+), 11 deletions(-)
diffs (98 lines):
diff -r 3f4f15ff65d9 -r 52bcd9623774 common/lib/libc/gen/rpst.c
--- a/common/lib/libc/gen/rpst.c Sun Nov 14 18:36:13 2021 +0000
+++ b/common/lib/libc/gen/rpst.c Sun Nov 14 20:51:57 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpst.c,v 1.11 2011/04/26 20:53:34 yamt Exp $ */
+/* $NetBSD: rpst.c,v 1.12 2021/11/14 20:51:57 andvar Exp $ */
/*-
* Copyright (c)2009 YAMAMOTO Takashi,
@@ -43,14 +43,14 @@
#include <sys/cdefs.h>
#if defined(_KERNEL) || defined(_STANDALONE)
-__KERNEL_RCSID(0, "$NetBSD: rpst.c,v 1.11 2011/04/26 20:53:34 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpst.c,v 1.12 2021/11/14 20:51:57 andvar Exp $");
#include <sys/param.h>
#include <lib/libkern/libkern.h>
#if defined(_STANDALONE)
#include <lib/libsa/stand.h>
#endif /* defined(_STANDALONE) */
#else /* defined(_KERNEL) || defined(_STANDALONE) */
-__RCSID("$NetBSD: rpst.c,v 1.11 2011/04/26 20:53:34 yamt Exp $");
+__RCSID("$NetBSD: rpst.c,v 1.12 2021/11/14 20:51:57 andvar Exp $");
#include <assert.h>
#include <stdbool.h>
#include <string.h>
@@ -569,7 +569,7 @@
struct timeval end;
unsigned int done;
- printf("quering max_y=%" PRIu64 " min_x=%" PRIu64 " max_x=%" PRIu64
+ printf("querying max_y=%" PRIu64 " min_x=%" PRIu64 " max_x=%" PRIu64
"\n",
max_y, min_x, max_x);
done = 0;
diff -r 3f4f15ff65d9 -r 52bcd9623774 sys/dev/ic/dwiic.c
--- a/sys/dev/ic/dwiic.c Sun Nov 14 18:36:13 2021 +0000
+++ b/sys/dev/ic/dwiic.c Sun Nov 14 20:51:57 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwiic.c,v 1.7 2019/12/23 15:28:08 thorpej Exp $ */
+/* $NetBSD: dwiic.c,v 1.8 2021/11/14 20:51:57 andvar Exp $ */
/* $OpenBSD: dwiic.c,v 1.4 2018/05/23 22:08:00 kettenis Exp $ */
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwiic.c,v 1.7 2019/12/23 15:28:08 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwiic.c,v 1.8 2021/11/14 20:51:57 andvar Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -445,7 +445,7 @@
if (x == 0 && cmdlen > 0 && I2C_OP_READ_P(op))
cmd |= DW_IC_DATA_CMD_RESTART;
/*
- * Generate STOP conditon on the last byte of the
+ * Generate STOP condition on the last byte of the
* transfer.
*/
if (x == (len - 1) && I2C_OP_STOP_P(op))
diff -r 3f4f15ff65d9 -r 52bcd9623774 sys/dev/ppbus/ppbus_1284.c
--- a/sys/dev/ppbus/ppbus_1284.c Sun Nov 14 18:36:13 2021 +0000
+++ b/sys/dev/ppbus/ppbus_1284.c Sun Nov 14 20:51:57 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ppbus_1284.c,v 1.13 2014/07/13 17:12:23 dholland Exp $ */
+/* $NetBSD: ppbus_1284.c,v 1.14 2021/11/14 20:51:57 andvar Exp $ */
/*-
* Copyright (c) 1997 Nicolas Souchu
@@ -32,7 +32,7 @@
/* General purpose routines for the IEEE1284-1994 Standard */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ppbus_1284.c,v 1.13 2014/07/13 17:12:23 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ppbus_1284.c,v 1.14 2021/11/14 20:51:57 andvar Exp $");
#include "opt_ppbus_1284.h"
@@ -64,7 +64,7 @@
}
-/* Unconditionaly reset the error field */
+/* Unconditionally reset the error field */
static int
ppbus_1284_reset_error(struct ppbus_softc * bus, int state)
{
@@ -569,7 +569,7 @@
goto error;
}
- /* Event 7 - quering result consider nACK not to misunderstand
+ /* Event 7 - querying result consider nACK not to misunderstand
* a remote computer terminate sequence */
if (options & PPBUS_EXTENSIBILITY_LINK) {
/* XXX not fully supported yet */
Home |
Main Index |
Thread Index |
Old Index