Changeset 3579 for trunk/kStuff/kLdr/kLdrDyldMod.c
- Timestamp:
- Sep 2, 2007, 11:40:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kStuff/kLdr/kLdrDyldMod.c
r3578 r3579 182 182 { 183 183 kLdrModClose(pRawMod); 184 rc = K LDR_ERR_NO_MEMORY;184 rc = KERR_NO_MEMORY; 185 185 } 186 186 return rc; … … 762 762 pMod->papPrereqs = (PPKLDRDYLDMOD)kHlpAllocZ(sizeof(pMod->papPrereqs[0]) * cPrereqs); 763 763 if (!pMod->papPrereqs) 764 return K LDR_ERR_NO_MEMORY;764 return KERR_NO_MEMORY; 765 765 pMod->cPrereqs = cPrereqs; 766 766 } … … 1224 1224 * Gets the module name. 1225 1225 * 1226 * @returns 0 on success, K LDR_ERR_BUFFER_OVERFLOW on failure.1226 * @returns 0 on success, KERR_BUFFER_OVERFLOW on failure. 1227 1227 * @param pMod The module. 1228 1228 * @param pszName Where to store the name. … … 1237 1237 pszName[cch - 1] = '\0'; 1238 1238 } 1239 return cchName <= pMod->pMod->cchName ? K LDR_ERR_BUFFER_OVERFLOW : 0;1239 return cchName <= pMod->pMod->cchName ? KERR_BUFFER_OVERFLOW : 0; 1240 1240 } 1241 1241 … … 1244 1244 * Gets the module filename. 1245 1245 * 1246 * @returns 0 on success, K LDR_ERR_BUFFER_OVERFLOW on failure.1246 * @returns 0 on success, KERR_BUFFER_OVERFLOW on failure. 1247 1247 * @param pMod The module. 1248 1248 * @param pszFilename Where to store the filename. … … 1257 1257 pszFilename[cch - 1] = '\0'; 1258 1258 } 1259 return cchFilename <= pMod->pMod->cchFilename ? K LDR_ERR_BUFFER_OVERFLOW : 0;1259 return cchFilename <= pMod->pMod->cchFilename ? KERR_BUFFER_OVERFLOW : 0; 1260 1260 } 1261 1261
Note:
See TracChangeset
for help on using the changeset viewer.