Module Name: src
Committed By: andvar
Date: Sun Aug 8 20:50:12 UTC 2021
Modified Files:
src/bin/sh: var.c
src/sys/dev/usb: umidi.c
Log Message:
s/varable/variable s/explictly/explicitly/ s/proerly/properly/ in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/bin/sh/var.c
cvs rdiff -u -r1.83 -r1.84 src/sys/dev/usb/umidi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/var.c
diff -u src/bin/sh/var.c:1.78 src/bin/sh/var.c:1.79
--- src/bin/sh/var.c:1.78 Thu Feb 14 11:15:24 2019
+++ src/bin/sh/var.c Sun Aug 8 20:50:12 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.78 2019/02/14 11:15:24 kre Exp $ */
+/* $NetBSD: var.c,v 1.79 2021/08/08 20:50:12 andvar Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: var.c,v 1.78 2019/02/14 11:15:24 kre Exp $");
+__RCSID("$NetBSD: var.c,v 1.79 2021/08/08 20:50:12 andvar Exp $");
#endif
#endif /* not lint */
@@ -197,7 +197,7 @@ static void export_usage(const char *) _
STATIC int makespecial(const char *);
/*
- * Initialize the varable symbol tables and import the environment
+ * Initialize the variable symbol tables and import the environment
*/
#ifdef mkinit
@@ -1248,7 +1248,7 @@ unsetvar(const char *s, int unexport)
/*
- * Returns true if the two strings specify the same varable. The first
+ * Returns true if the two strings specify the same viarable. The first
* variable name is terminated by '='; the second may be terminated by
* either '=' or '\0'.
*/
@@ -1570,7 +1570,7 @@ get_random(struct var *vp)
/*
* initialisation (without pre-seeding),
- * or explictly requesting a truly random seed.
+ * or explicitly requesting a truly random seed.
*/
INTOFF;
fd = open("/dev/urandom", 0);
Index: src/sys/dev/usb/umidi.c
diff -u src/sys/dev/usb/umidi.c:1.83 src/sys/dev/usb/umidi.c:1.84
--- src/sys/dev/usb/umidi.c:1.83 Wed Jan 20 22:46:33 2021
+++ src/sys/dev/usb/umidi.c Sun Aug 8 20:50:12 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: umidi.c,v 1.83 2021/01/20 22:46:33 jdolecek Exp $ */
+/* $NetBSD: umidi.c,v 1.84 2021/08/08 20:50:12 andvar Exp $ */
/*
* Copyright (c) 2001, 2012, 2014 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.83 2021/01/20 22:46:33 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.84 2021/08/08 20:50:12 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -1388,7 +1388,7 @@ close_in_jack(struct umidi_jack *jack)
* We have to drop the (interrupt) lock so that
* the USB thread lock can be safely taken by
* the abort operation. This is safe as this
- * either closing or dying will be set proerly.
+ * either closing or dying will be set properly.
*/
mutex_exit(&sc->sc_lock);
usbd_abort_pipe(jack->endpoint->pipe);
@@ -1525,7 +1525,7 @@ deactivate_all_mididevs(struct umidi_sof
* Otherwise:
* - support a DISPLAY_BASE_CN quirk (add the value to each internal cable
* number for display)
- * - support an array quirk explictly giving a char * for each jack.
+ * - support an array quirk explicitly giving a char * for each jack.
* For now, you get 0-based cable numbers. If there are multiple endpoints and
* the CNs are not globally unique, each is shown with its associated endpoint
* address in hex also. That should not be necessary when using iJack values