Cole Robinson <crobi...@redhat.com> writes: > Using multiple calls to error_report here means every line is > prefaced with the (potentially long) pci-assign command line > arguments. Use a single error_report to preserve the intended > formatting.
The orthodox way to do this is to use error_report() for the (single-line!) error message, then error_printf() for additional information. See commit 2da2e52..312fd5f for an example.