1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-23 09:03:23 -05:00

Minor undef check.

This commit is contained in:
freesource 2001-07-23 20:41:05 +00:00
parent 1adda357f8
commit be026fa17b

View File

@ -1461,9 +1461,11 @@ sub kernel_version {
# 2.4.0 kernels now use Start Text 0x202
sprintf("%04x",$str)." (expected 0x201 or 0x202).\n"
unless ($str == 0x201
|| $str == 0x0202);
|| $str == 0x0202) {
print sprintf("%04x",$str);
print "(expected 0x201 or 0x202).\n";
}
# get ofset of version string (indirect) and read version string
seek(DATA, 526, 0);