Fix errors in CPER write, remove PCIe AER support.
diff --git a/sections/cper-section-pci-bus.c b/sections/cper-section-pci-bus.c
index d12a6fe..0b0c297 100644
--- a/sections/cper-section-pci-bus.c
+++ b/sections/cper-section-pci-bus.c
@@ -79,7 +79,7 @@
section_cper->TargetId = json_object_get_uint64(json_object_object_get(section, "targetID"));
//Write to stream, free resources.
- fwrite(§ion_cper, sizeof(section_cper), 1, out);
+ fwrite(section_cper, sizeof(EFI_PCI_PCIX_BUS_ERROR_DATA), 1, out);
fflush(out);
free(section_cper);
}
\ No newline at end of file