mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 10:52:08 +02:00
CI: fix build
This commit is contained in:
@@ -177,7 +177,7 @@ const char* getProductNameWithIokit(FFstrbuf* result)
|
||||
if (!productName)
|
||||
return "IORegistryEntryCreateCFProperty() failed";
|
||||
|
||||
return ffCfStrGetString(name, result);
|
||||
return ffCfStrGetString(productName, result);
|
||||
}
|
||||
|
||||
const char* getOthersByIokit(FFHostResult* host)
|
||||
|
||||
@@ -133,7 +133,7 @@ void ffGenerateHostJsonResult(FF_MAYBE_UNUSED FFHostOptions* options, yyjson_mut
|
||||
yyjson_mut_obj_add_strbuf(doc, obj, "name", &host.name);
|
||||
yyjson_mut_obj_add_strbuf(doc, obj, "version", &host.version);
|
||||
yyjson_mut_obj_add_strbuf(doc, obj, "sku", &host.sku);
|
||||
yyjson_mut_obj_add_strbuf(doc, obj, "vender", &host.vendor);
|
||||
yyjson_mut_obj_add_strbuf(doc, obj, "vendor", &host.vendor);
|
||||
yyjson_mut_obj_add_strbuf(doc, obj, "serial", &host.serial);
|
||||
yyjson_mut_obj_add_strbuf(doc, obj, "uuid", &host.uuid);
|
||||
|
||||
|
||||
@@ -79,8 +79,8 @@ const FFSmbiosHeaderTable* ffGetSmbiosHeaderTable()
|
||||
assert(bufSize > sizeof(FFRawSmbiosData));
|
||||
buffer = (FFRawSmbiosData*) malloc(bufSize);
|
||||
assert(buffer);
|
||||
uint32_t resSize = GetSystemFirmwareTable(signature, 0, buffer, bufSize);
|
||||
assert(resSize == bufSize);
|
||||
uint32_t resultSize = GetSystemFirmwareTable(signature, 0, buffer, bufSize);
|
||||
assert(resultSize == bufSize);
|
||||
|
||||
for (
|
||||
const FFSmbiosHeader* header = (const FFSmbiosHeader*) buffer->SMBIOSTableData;
|
||||
|
||||
Reference in New Issue
Block a user