diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-20 09:02:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-20 09:02:19 +0000 |
commit | c66dd6afa67cc671bf7327363596b4bdd9726957 (patch) | |
tree | 95a2eac45eae282e59d061b2503bcd4851d37ce8 /sys | |
parent | 4ad42bb4c0bab148a53f42a11d7a480276d2d95b (diff) |
line#/column# changed at 2.7, not 2.9; grr
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/sparc/autoconf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c index a0c772babc8..9b78d2f8837 100644 --- a/sys/arch/sparc/sparc/autoconf.c +++ b/sys/arch/sparc/sparc/autoconf.c @@ -1698,7 +1698,7 @@ romgetcursoraddr(rowp, colp) * and in some newer proms. They are local in version 2.9. The * correct cutoff point is unknown, as yet; we use 2.9 here. */ - if (promvec->pv_romvec_vers < 2 || promvec->pv_printrev < 0x00020009) + if (promvec->pv_romvec_vers < 2 || promvec->pv_printrev < 0x00020007) sprintf(buf, "' line# >body >user %lx ! ' column# >body >user %lx !", (u_long)rowp, (u_long)colp); @@ -1708,6 +1708,8 @@ romgetcursoraddr(rowp, colp) (u_long)rowp, (u_long)colp); *rowp = *colp = NULL; rominterpret(buf); + if (*rowp == *colp && *rowp != NULL) + panic("romgetcursor prom version"); return (*rowp == NULL || *colp == NULL); } #endif |