Date: Fri, 02 Jan 2004 00:20:46 -1000 From: David Cornejo <dcornejo@firetide.com> To: freebsd-sparc64@freebsd.org Subject: kernel broken in creator.c? Message-ID: <6.0.1.1.2.20040102001806.024b5128@mail.firetide.com>
next in thread | raw e-mail | index | archive | help
Hi, Maybe I've got a funky setup, but I haven't gotten creator.c to compile due to warnings since the NULL changes. The following compiled it for me, it look ok? dave c *** creator.c~ Mon Nov 10 21:34:08 2003 --- creator.c Thu Jan 1 23:49:04 2004 *************** *** 292,302 **** FFB_WRITE(sc, FFB_DAC, FFB_DAC_VALUE2, 0x0); if (sc->sc_console) { ! col = NULL; ! row = NULL; OF_interpret("stdout @ is my-self addr line# addr column# ", 2, &col, &row); ! if (col != NULL && row != NULL) { sc->sc_colp = (int *)(col + 4); sc->sc_rowp = (int *)(row + 4); } --- 292,302 ---- FFB_WRITE(sc, FFB_DAC, FFB_DAC_VALUE2, 0x0); if (sc->sc_console) { ! col = 0; ! row = 0; OF_interpret("stdout @ is my-self addr line# addr column# ", 2, &col, &row); ! if (col != 0 && row != 0) { sc->sc_colp = (int *)(col + 4); sc->sc_rowp = (int *)(row + 4); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.1.1.2.20040102001806.024b5128>