Deleted Added
full compact
282a283
> ACPI_SIZE Actual;
337c338
< /* Special ACPI tables - DSDT, SSDT, FACS, RSDP */
---
> /* Special ACPI tables - DSDT, SSDT, FADT, RSDP */
342c343,350
< fwrite (TemplateDsdt, sizeof (TemplateDsdt) -1, 1, File);
---
> Actual = fwrite (TemplateDsdt, 1, sizeof (TemplateDsdt) -1, File);
> if (Actual != sizeof (TemplateDsdt) -1)
> {
> fprintf (stderr,
> "Could not write to output file %s\n", DisasmFilename);
> Status = AE_ERROR;
> goto Cleanup;
> }
346c354,361
< fwrite (TemplateSsdt, sizeof (TemplateSsdt) -1, 1, File);
---
> Actual = fwrite (TemplateSsdt, 1, sizeof (TemplateSsdt) -1, File);
> if (Actual != sizeof (TemplateSsdt) -1)
> {
> fprintf (stderr,
> "Could not write to output file %s\n", DisasmFilename);
> Status = AE_ERROR;
> goto Cleanup;
> }
348c363
< else if (ACPI_COMPARE_NAME (Signature, ACPI_SIG_FACS))
---
> else if (ACPI_COMPARE_NAME (Signature, ACPI_SIG_FACS)) /* FADT */
362c377,378
< return (AE_ERROR);
---
> Status = AE_ERROR;
> goto Cleanup;
369a386
> Cleanup: