Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/dev use DEFATTR if we're not the console and ...



details:   https://anonhg.NetBSD.org/src/rev/bc7636062895
branches:  trunk
changeset: 815772:bc7636062895
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Jun 02 21:19:24 2016 +0000

description:
use DEFATTR if we're not the console and can't init defattr.
should appease clang
TODO: we should really init the glyphcache whith the first screen

diffstat:

 sys/arch/sparc/dev/cgfourteen.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 81b4ee0dee1d -r bc7636062895 sys/arch/sparc/dev/cgfourteen.c
--- a/sys/arch/sparc/dev/cgfourteen.c   Thu Jun 02 21:17:14 2016 +0000
+++ b/sys/arch/sparc/dev/cgfourteen.c   Thu Jun 02 21:19:24 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cgfourteen.c,v 1.80 2016/04/30 05:23:03 macallan Exp $ */
+/*     $NetBSD: cgfourteen.c,v 1.81 2016/06/02 21:19:24 macallan Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -775,7 +775,7 @@
                        sc->sc_fb.fb_type.fb_width,
                        ri->ri_font->fontwidth,
                        ri->ri_font->fontheight,
-                       defattr);
+                       DEFATTR);
        }
 
        cg14_init_cmap(sc);



Home | Main Index | Thread Index | Old Index