Add additional check on /dev/nvram to avoid misleading error message
authorEthan Benson <erbenson@alaska.net>
Sat, 8 May 2004 22:04:51 +0000 (22:04 +0000)
committerEthan Benson <erbenson@alaska.net>
Sat, 8 May 2004 22:04:51 +0000 (22:04 +0000)
commit8fe6242322e48ad34ae82d63b8a5a554aea987b3
tree78496fd37759ba1b1b2b9cdddf256122ec4197b9
parent58cb1681bd92b96efbf251e847214c2447533cce
Add additional check on /dev/nvram to avoid misleading error message

* ybin/ybin: Add additional check on /dev/nvram, if we cannot read a
  couple bytes report it as broken.  This avoids misleading
  `Incompatible nvsetenv' message on kernels without /dev/nvram support.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-71
0arch-timestamps0
ChangeLog
ybin/ybin