Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/audio audio(4): Fix typo in previous -- atomic_store...



details:   https://anonhg.NetBSD.org/src/rev/ce8eb915fe4c
branches:  trunk
changeset: 363904:ce8eb915fe4c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Mar 14 21:38:04 2022 +0000

description:
audio(4): Fix typo in previous -- atomic_store_release, not reease.

Built the wrong kernel to compile-test AUDIO_DEBUG, oops.

diffstat:

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

diffs (27 lines):

diff -r 46e3ce440d77 -r ce8eb915fe4c sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c     Mon Mar 14 20:50:48 2022 +0000
+++ b/sys/dev/audio/audio.c     Mon Mar 14 21:38:04 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.114 2022/03/14 11:47:33 riastradh Exp $    */
+/*     $NetBSD: audio.c,v 1.115 2022/03/14 21:38:04 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -138,7 +138,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.114 2022/03/14 11:47:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.115 2022/03/14 21:38:04 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -280,7 +280,7 @@
        mlog_buf[mlog_wpage][0] = '\0';
        mlog_used = 0;
 
-       atomic_store_reease(&mlog_inuse, 0);
+       atomic_store_release(&mlog_inuse, 0);
 
        if (mlog_buf[rpage][0] != '\0') {
                printf("%s", mlog_buf[rpage]);



Home | Main Index | Thread Index | Old Index