Fix use of CD_VERSION=any in cdrom.inf by calling strcmp instead of
variable_cmp. PR: bin/142960 Submitted by: G. Paul Ziemba <p-fbsd-bugs at ziemba.us> MFC after: 1 week
This commit is contained in:
parent
86c585d929
commit
57bd39c6d6
@ -145,7 +145,7 @@ mediaInitCDROM(Device *dev)
|
||||
else {
|
||||
if (variable_cmp(VAR_RELNAME, cp) &&
|
||||
variable_cmp(VAR_RELNAME, "any") &&
|
||||
variable_cmp(cp, "any") &&
|
||||
strcmp(cp, "any") &&
|
||||
!bogusCDOK) {
|
||||
msgConfirm("Warning: The version of the FreeBSD disc currently in the drive\n"
|
||||
"(%s) does not match the version of the boot floppy\n"
|
||||
|
Loading…
Reference in New Issue
Block a user