Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/audio Fix misspellings in comment.



details:   https://anonhg.NetBSD.org/src/rev/1b1f7cad4779
branches:  trunk
changeset: 943625:1b1f7cad4779
user:      isaki <isaki%NetBSD.org@localhost>
date:      Mon Sep 07 03:36:11 2020 +0000

description:
Fix misspellings in comment.

diffstat:

 sys/dev/audio/audio.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 757d966b8f35 -r 1b1f7cad4779 sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c     Mon Sep 07 03:19:04 2020 +0000
+++ b/sys/dev/audio/audio.c     Mon Sep 07 03:36:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.78 2020/08/23 04:20:01 isaki Exp $ */
+/*     $NetBSD: audio.c,v 1.79 2020/09/07 03:36:11 isaki Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -138,7 +138,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.78 2020/08/23 04:20:01 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.79 2020/09/07 03:36:11 isaki Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -2961,7 +2961,7 @@
                mutex_enter(sc->sc_lock);
                error = sc->hw_if->query_format(sc->hw_hdl, query);
                mutex_exit(sc->sc_lock);
-               /* Hide internal infomations */
+               /* Hide internal information */
                query->fmt.driver_data = NULL;
                break;
 
@@ -4775,7 +4775,7 @@
 }
 
 /*
- * Calcurate blktime [msec] from mixer(.hwbuf.fmt).
+ * Calculate blktime [msec] from mixer(.hwbuf.fmt).
  * Must be called with sc_exlock held.
  */
 static u_int
@@ -4910,7 +4910,7 @@
                        return EINVAL;
                }
                if (rounded != bufsize) {
-                       /* Recalcuration */
+                       /* Recalculation */
                        bufsize = rounded;
                        hwblks = bufsize / blksize;
                        capacity = mixer->frames_per_block * hwblks;



Home | Main Index | Thread Index | Old Index