Skip to content
Commit e22f3141 authored by Fabian Vogt's avatar Fabian Vogt
Browse files

Handle libpci errors gracefully

libpci expects that the error callback does not return, but pci_warning
previously did. Throwing exceptions through C code without -fexceptions is not
safe, so resort to plain setjmp/longjmp.

Also format the message properly.
parent 0a630f55
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment