mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
Format using clang-format
This commit is contained in:
@@ -7,11 +7,12 @@ struct ErrorCode {
|
||||
|
||||
extern struct ErrorCode ErrorCodeTable[];
|
||||
|
||||
const CHAR16 *util_error_message(EFI_STATUS status) {
|
||||
const CHAR16 *
|
||||
util_error_message(EFI_STATUS status)
|
||||
{
|
||||
int32_t i = -1;
|
||||
while (ErrorCodeTable[++i].desc != NULL) {
|
||||
if (ErrorCodeTable[i].code == status)
|
||||
return ErrorCodeTable[i].desc;
|
||||
if (ErrorCodeTable[i].code == status) return ErrorCodeTable[i].desc;
|
||||
}
|
||||
|
||||
return L"Unknown";
|
||||
|
||||
Reference in New Issue
Block a user