Source-Changes-HG archive

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

[src/thorpej-cfargs]: src/sys/dev "" is not a valid interface attribute, so d...



details:   https://anonhg.NetBSD.org/src/rev/d6cc6e751932
branches:  thorpej-cfargs
changeset: 960469:d6cc6e751932
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 28 19:50:05 2021 +0000

description:
"" is not a valid interface attribute, so don't pass it to spkr_rescan()
(luckily it wasn't used anyway).

diffstat:

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

diffs (27 lines):

diff -r ac472386b87f -r d6cc6e751932 sys/dev/spkr.c
--- a/sys/dev/spkr.c    Sun Mar 28 19:42:59 2021 +0000
+++ b/sys/dev/spkr.c    Sun Mar 28 19:50:05 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spkr.c,v 1.17.14.1 2021/03/21 21:09:09 thorpej Exp $   */
+/*     $NetBSD: spkr.c,v 1.17.14.2 2021/03/28 19:50:05 thorpej Exp $   */
 
 /*
  * Copyright (c) 1990 Eric S. Raymond (esr%snark.thyrsus.com@localhost)
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spkr.c,v 1.17.14.1 2021/03/21 21:09:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spkr.c,v 1.17.14.2 2021/03/28 19:50:05 thorpej Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "wsmux.h"
@@ -375,7 +375,7 @@
        sc->sc_inbuf = NULL;
        sc->sc_wsbelldev = NULL;
 
-       spkr_rescan(self, "", NULL);
+       spkr_rescan(self, NULL, NULL);
 }
 
 int



Home | Main Index | Thread Index | Old Index