Module Name: src Committed By: andvar Date: Sun Nov 14 20:51:57 UTC 2021
Modified Files: src/common/lib/libc/gen: rpst.c src/sys/dev/ic: dwiic.c src/sys/dev/ppbus: ppbus_1284.c Log Message: fix few typos in comments and log message. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/common/lib/libc/gen/rpst.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/ic/dwiic.c cvs rdiff -u -r1.13 -r1.14 src/sys/dev/ppbus/ppbus_1284.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/common/lib/libc/gen/rpst.c diff -u src/common/lib/libc/gen/rpst.c:1.11 src/common/lib/libc/gen/rpst.c:1.12 --- src/common/lib/libc/gen/rpst.c:1.11 Tue Apr 26 20:53:34 2011 +++ src/common/lib/libc/gen/rpst.c Sun Nov 14 20:51:57 2021 @@ -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 @@ query(uint64_t max_y, uint64_t min_x, ui 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; Index: src/sys/dev/ic/dwiic.c diff -u src/sys/dev/ic/dwiic.c:1.7 src/sys/dev/ic/dwiic.c:1.8 --- src/sys/dev/ic/dwiic.c:1.7 Mon Dec 23 15:28:08 2019 +++ src/sys/dev/ic/dwiic.c Sun Nov 14 20:51:57 2021 @@ -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 @@ dwiic_i2c_exec(void *cookie, i2c_op_t op 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)) Index: src/sys/dev/ppbus/ppbus_1284.c diff -u src/sys/dev/ppbus/ppbus_1284.c:1.13 src/sys/dev/ppbus/ppbus_1284.c:1.14 --- src/sys/dev/ppbus/ppbus_1284.c:1.13 Sun Jul 13 17:12:23 2014 +++ src/sys/dev/ppbus/ppbus_1284.c Sun Nov 14 20:51:57 2021 @@ -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 @@ do_peripheral_wait(struct ppbus_softc * } -/* 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 @@ ppbus_1284_negotiate(device_t dev, int m 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 */