Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev Correct a typo in the openprom variable...



details:   https://anonhg.NetBSD.org/src/rev/fddc19f9d66f
branches:  trunk
changeset: 321600:fddc19f9d66f
user:      jdc <jdc%NetBSD.org@localhost>
date:      Mon Mar 26 10:31:10 2018 +0000

description:
Correct a typo in the openprom variable name.

diffstat:

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

diffs (27 lines):

diff -r 3d710b6ba2e9 -r fddc19f9d66f sys/arch/sparc64/dev/ffb.c
--- a/sys/arch/sparc64/dev/ffb.c        Mon Mar 26 09:11:15 2018 +0000
+++ b/sys/arch/sparc64/dev/ffb.c        Mon Mar 26 10:31:10 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffb.c,v 1.61 2017/05/19 19:25:53 macallan Exp $        */
+/*     $NetBSD: ffb.c,v 1.62 2018/03/26 10:31:10 jdc Exp $     */
 /*     $OpenBSD: creator.c,v 1.20 2002/07/30 19:48:15 jason Exp $      */
 
 /*
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.61 2017/05/19 19:25:53 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.62 2018/03/26 10:31:10 jdc Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -260,7 +260,7 @@
 
        /* Check if a console resolution "<device>:r<res>" is set. */
        if (sc->sc_console) {
-               out_dev = prom_getpropstring(sc->sc_node, "output_device");
+               out_dev = prom_getpropstring(sc->sc_node, "output-device");
                if (out_dev != NULL && strlen(out_dev) != 0 &&
                    strstr(out_dev, ":r") != NULL)
                        try_edid = 0;



Home | Main Index | Thread Index | Old Index