s/varable/variable s/explictly/explicitly/ s/proerly/properly/ in comments.

This commit is contained in:
andvar 2021-08-08 20:50:12 +00:00
parent 7763cb672f
commit f1229b5389
2 changed files with 9 additions and 9 deletions

View File

@ -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 * Copyright (c) 1991, 1993
@ -37,7 +37,7 @@
#if 0 #if 0
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 5/4/95"; static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 5/4/95";
#else #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
#endif /* not lint */ #endif /* not lint */
@ -197,7 +197,7 @@ static void export_usage(const char *) __dead;
STATIC int makespecial(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 #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 * variable name is terminated by '='; the second may be terminated by
* either '=' or '\0'. * either '=' or '\0'.
*/ */
@ -1570,7 +1570,7 @@ get_random(struct var *vp)
/* /*
* initialisation (without pre-seeding), * initialisation (without pre-seeding),
* or explictly requesting a truly random seed. * or explicitly requesting a truly random seed.
*/ */
INTOFF; INTOFF;
fd = open("/dev/urandom", 0); fd = open("/dev/urandom", 0);

View File

@ -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. * Copyright (c) 2001, 2012, 2014 The NetBSD Foundation, Inc.
@ -32,7 +32,7 @@
*/ */
#include <sys/cdefs.h> #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 #ifdef _KERNEL_OPT
#include "opt_usb.h" #include "opt_usb.h"
@ -1388,7 +1388,7 @@ close_in_jack(struct umidi_jack *jack)
* We have to drop the (interrupt) lock so that * We have to drop the (interrupt) lock so that
* the USB thread lock can be safely taken by * the USB thread lock can be safely taken by
* the abort operation. This is safe as this * 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); mutex_exit(&sc->sc_lock);
usbd_abort_pipe(jack->endpoint->pipe); usbd_abort_pipe(jack->endpoint->pipe);
@ -1525,7 +1525,7 @@ deactivate_all_mididevs(struct umidi_softc *sc)
* Otherwise: * Otherwise:
* - support a DISPLAY_BASE_CN quirk (add the value to each internal cable * - support a DISPLAY_BASE_CN quirk (add the value to each internal cable
* number for display) * 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 * 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 * 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 * address in hex also. That should not be necessary when using iJack values