Module Name: src Committed By: andvar Date: Thu Oct 6 19:38:54 UTC 2022
Modified Files: src/sys/dev/adb: adb_ktm.c src/sys/dev/ic: scmd.c Log Message: fix few typos in comments and node description. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/adb/adb_ktm.c cvs rdiff -u -r1.2 -r1.3 src/sys/dev/ic/scmd.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/dev/adb/adb_ktm.c diff -u src/sys/dev/adb/adb_ktm.c:1.5 src/sys/dev/adb/adb_ktm.c:1.6 --- src/sys/dev/adb/adb_ktm.c:1.5 Wed Apr 6 17:37:31 2022 +++ src/sys/dev/adb/adb_ktm.c Thu Oct 6 19:38:54 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: adb_ktm.c,v 1.5 2022/04/06 17:37:31 macallan Exp $ */ +/* $NetBSD: adb_ktm.c,v 1.6 2022/10/06 19:38:54 andvar Exp $ */ /*- * Copyright (c) 2019 Michael Lorenz @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: adb_ktm.c,v 1.5 2022/04/06 17:37:31 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: adb_ktm.c,v 1.6 2022/10/06 19:38:54 andvar Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -250,13 +250,13 @@ ktm_init(struct ktm_softc *sc) ret = sysctl_createv(NULL, 0, NULL, &node, CTLFLAG_READWRITE | CTLFLAG_OWNDESC, - CTLTYPE_INT, "left", "left button assigmnent", + CTLTYPE_INT, "left", "left button assignment", sysctl_ktm_left, 1, (void *)sc, 0, CTL_MACHDEP, me->sysctl_num, CTL_CREATE, CTL_EOL); ret = sysctl_createv(NULL, 0, NULL, &node, CTLFLAG_READWRITE | CTLFLAG_OWNDESC, - CTLTYPE_INT, "right", "right button assigmnent", + CTLTYPE_INT, "right", "right button assignment", sysctl_ktm_right, 1, (void *)sc, 0, CTL_MACHDEP, me->sysctl_num, CTL_CREATE, CTL_EOL); __USE(ret); Index: src/sys/dev/ic/scmd.c diff -u src/sys/dev/ic/scmd.c:1.2 src/sys/dev/ic/scmd.c:1.3 --- src/sys/dev/ic/scmd.c:1.2 Thu Mar 31 19:30:16 2022 +++ src/sys/dev/ic/scmd.c Thu Oct 6 19:38:54 2022 @@ -1,5 +1,5 @@ -/* $NetBSD: scmd.c,v 1.2 2022/03/31 19:30:16 pgoyette Exp $ */ +/* $NetBSD: scmd.c,v 1.3 2022/10/06 19:38:54 andvar Exp $ */ /* * Copyright (c) 2021 Brad Spencer <b...@anduin.eldar.org> @@ -18,7 +18,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: scmd.c,v 1.2 2022/03/31 19:30:16 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: scmd.c,v 1.3 2022/10/06 19:38:54 andvar Exp $"); /* * Common driver for the Sparkfun Serial motor controller. @@ -274,7 +274,7 @@ scmd_open(dev_t dev, int flags, int fmt, if (sc->sc_opened) return EBUSY; - /* This is a meaningless assigment to keep GCC from + /* This is a meaningless assignment to keep GCC from * complaining. */ sc->sc_func_attach = &scmd_attach; @@ -521,7 +521,7 @@ scmd_write(dev_t dev, struct uio *uio, i * can perform re-enumeration, then do the wait thing. * It is not as important that this be done for remote module * access as the only thing that you could really do there is - * a restart and not re-emumeration, which is really what the wait + * a restart and not re-enumeration, which is really what the wait * is all about. */ if (reg_addr == SCMD_REG_CONTROL_1) {