better error message

This commit is contained in:
rusEfi 2017-04-22 09:47:07 -04:00
parent 05d720fd3e
commit d1ab5c5bb5
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ char * swapOutputBuffers(int *actualOutputBufferSize) {
*actualOutputBufferSize = efiStrlen(outputBuffer); *actualOutputBufferSize = efiStrlen(outputBuffer);
#if EFI_ENABLE_ASSERTS || defined(__DOXYGEN__) #if EFI_ENABLE_ASSERTS || defined(__DOXYGEN__)
if (*actualOutputBufferSize != expectedOutputSize) { if (*actualOutputBufferSize != expectedOutputSize) {
firmwareError(CUSTOM_ERR_6534, "out constr %d/%d", *actualOutputBufferSize, expectedOutputSize); firmwareError(CUSTOM_ERR_6534, "lsize mismatch %d/%d", *actualOutputBufferSize, expectedOutputSize);
return NULL; return NULL;
} }
#endif /* EFI_ENABLE_ASSERTS */ #endif /* EFI_ENABLE_ASSERTS */