git: 132fca633593 - main - sound(4): Fix typos.

Hans Petter Selasky hselasky at FreeBSD.org
Fri Aug 6 09:30:22 UTC 2021


The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=132fca6335939b308f230d4942ba15ba2b56ceb7

commit 132fca6335939b308f230d4942ba15ba2b56ceb7
Author:     Hans Petter Selasky <hselasky at FreeBSD.org>
AuthorDate: 2021-07-28 11:25:01 +0000
Commit:     Hans Petter Selasky <hselasky at FreeBSD.org>
CommitDate: 2021-08-06 09:28:43 +0000

    sound(4): Fix typos.
    
    Submitted by:   Christos Margiolis <christos at freebsd.org>
    Differential Revision:  https://reviews.freebsd.org/D31320
    MFC after:      1 week
    Sponsored by:   NVIDIA Networking
---
 sys/dev/sound/pcm/sound.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c
index 299e4937f8e4..e03529f00b78 100644
--- a/sys/dev/sound/pcm/sound.c
+++ b/sys/dev/sound/pcm/sound.c
@@ -1020,7 +1020,7 @@ pcm_sysinit(device_t dev)
 {
   	struct snddev_info *d = device_get_softc(dev);
 
-  	/* XXX: an user should be able to set this with a control tool, the
+	/* XXX: a user should be able to set this with a control tool, the
 	   sysadmin then needs min+max sysctls for this */
 	SYSCTL_ADD_UINT(device_get_sysctl_ctx(dev),
 	    SYSCTL_CHILDREN(device_get_sysctl_tree(dev)),
@@ -1133,7 +1133,7 @@ pcm_register(device_t dev, void *devinfo, int numplay, int numrec)
 	sysctl_ctx_init(&d->rec_sysctl_ctx);
 	d->rec_sysctl_tree = SYSCTL_ADD_NODE(&d->rec_sysctl_ctx,
 	    SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO, "rec",
-	    CTLFLAG_RD | CTLFLAG_MPSAFE, 0, "record channels node");
+	    CTLFLAG_RD | CTLFLAG_MPSAFE, 0, "recording channels node");
 
 	if (numplay > 0 || numrec > 0)
 		d->flags |= SD_F_AUTOVCHAN;


More information about the dev-commits-src-all mailing list