better error message
This commit is contained in:
parent
05d720fd3e
commit
d1ab5c5bb5
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue