Changeset 22907 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Sep 10, 2009 11:27:09 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r22823 r22907 1149 1149 pOEMStrings->u8Count = 2; 1150 1150 1151 char * pszVBoxVer, *pszVBoxRev;1152 RTStr APrintf(&pszVBoxVer, "vboxVer_%d.%d.%d",1153 1154 R TStrAPrintf(&pszVBoxRev, "vboxRev_%ld", RTBldCfgRevision());1155 R EADCFGSTR("DmiOEMVBoxVer", pszDmiOEMVBoxVer, pszVBoxVer);1156 READCFGSTR("DmiOEMVBoxRev", pszDmiOEMVBoxRev, pszVBoxRev);1151 char szTmp[64]; 1152 RTStrPrintf(szTmp, sizeof(szTmp), "vboxVer_%u.%u.%u", 1153 RTBldCfgVersionMajor(), RTBldCfgVersionMinor(), RTBldCfgVersionBuild()); 1154 READCFGSTR("DmiOEMVBoxVer", pszDmiOEMVBoxVer, szTmp); 1155 RTStrPrintf(szTmp, sizeof(szTmp), "vboxRev_%u", RTBldCfgRevision()); 1156 READCFGSTR("DmiOEMVBoxRev", pszDmiOEMVBoxRev, szTmp); 1157 1157 SETSTRING(pOEMStrings->u8VBoxVersion, pszDmiOEMVBoxVer); 1158 1158 SETSTRING(pOEMStrings->u8VBoxRevision, pszDmiOEMVBoxRev); 1159 RTStrFree(pszVBoxVer);1160 RTStrFree(pszVBoxRev);1161 1159 *pszStr++ = '\0'; 1162 1160
Note:
See TracChangeset
for help on using the changeset viewer.