diff options
Diffstat (limited to 'sys/contrib/dev/acpica/rscreate.c')
-rw-r--r-- | sys/contrib/dev/acpica/rscreate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/rscreate.c b/sys/contrib/dev/acpica/rscreate.c index 14aaf5d..60edaa5 100644 --- a/sys/contrib/dev/acpica/rscreate.c +++ b/sys/contrib/dev/acpica/rscreate.c @@ -266,9 +266,9 @@ AcpiRsCreatePciRoutingTable ( if (BufferSizeNeeded > *OutputBufferLength) { + *OutputBufferLength = BufferSizeNeeded; return_ACPI_STATUS (AE_BUFFER_OVERFLOW); } - *OutputBufferLength = BufferSizeNeeded; /* * Zero out the return buffer before proceeding |