mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Don't confuse NULL with 0.
This commit is contained in:
parent
75fcf8a737
commit
2affa9f7b1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124072
@ -292,11 +292,11 @@ creator_init(int unit, video_adapter_t *adp, int flags)
|
||||
FFB_WRITE(sc, FFB_DAC, FFB_DAC_VALUE2, 0x0);
|
||||
|
||||
if (sc->sc_console) {
|
||||
col = NULL;
|
||||
row = NULL;
|
||||
col = 0;
|
||||
row = 0;
|
||||
OF_interpret("stdout @ is my-self addr line# addr column# ",
|
||||
2, &col, &row);
|
||||
if (col != NULL && row != NULL) {
|
||||
if (col != 0 && row != 0) {
|
||||
sc->sc_colp = (int *)(col + 4);
|
||||
sc->sc_rowp = (int *)(row + 4);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user