Index: branches/ErmaC/Enoch/i386/libsaio/disk.c =================================================================== --- branches/ErmaC/Enoch/i386/libsaio/disk.c (revision 2758) +++ branches/ErmaC/Enoch/i386/libsaio/disk.c (revision 2759) @@ -1800,8 +1800,13 @@ const char *val; int len; + // ProductVersion if (getValueForKey(kProductVersion, &val, &len, &systemVersion)) { + // Copy the complete value into OSFullVer + strncpy( bvr->OSFullVer, val, len ); + bvr->OSFullVer[len] = '\0'; /* null character manually added */ + // getValueForKey uses const char for val // so copy it and trim *str = '\0'; Index: branches/ErmaC/Enoch/i386/libsaio/saio_types.h =================================================================== --- branches/ErmaC/Enoch/i386/libsaio/saio_types.h (revision 2758) +++ branches/ErmaC/Enoch/i386/libsaio/saio_types.h (revision 2759) @@ -211,6 +211,7 @@ bool filtered; /* newFilteredBVChain() will set to TRUE */ bool visible; /* will shown in the device list */ char OSVersion[OSVERSTRLEN]; /* Null terminated string from '/System/Library/CoreServices/SystemVersion.plist/ProductVersion' e.g. "10.10.10" - hope will not reach e.g. 111.222.333 soon:) If so, OSVERSTRLEN 9 change to 12 */ + char OSFullVer[OSVERSTRLEN]; /* Null terminated string from '/System/Library/CoreServices/SystemVersion.plist/ProductVersion' */ bool OSisServer; /* 1 = OS X server , 0 = OS X client */ bool OSisInstaller; /* 1 = OS X Install partition / recovery partition , 0 = OS X Install */ Index: branches/ErmaC/Enoch/i386/boot2/options.c =================================================================== --- branches/ErmaC/Enoch/i386/boot2/options.c (revision 2758) +++ branches/ErmaC/Enoch/i386/boot2/options.c (revision 2759) @@ -1314,7 +1314,7 @@ } // Save a version of mac os we're booting. - MacOSVerCurrent = MacOSVer2Int(gBootVolume->OSVersion); + MacOSVerCurrent = MacOSVer2Int(gBootVolume->OSFullVer); // so copy it and trim gMacOSVersion[0] = 0; if ( MacOSVerCurrent >= MacOSVer2Int("10.10") )