mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue