]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Convert virSecurityReportError into a macro
authorMatthias Bolte <matthias.bolte@googlemail.com>
Thu, 11 Feb 2010 23:18:54 +0000 (00:18 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 15 Feb 2010 09:45:25 +0000 (10:45 +0100)
commitcad2a4caedb6274c59682dee630f5a42d059fd0d
treec9b9dd8ea48f846c00c2560327a8933d225aa203
parent141dea6bc7222107c2357acb68066baea5b26df3
Convert virSecurityReportError into a macro

The virRaiseError macro inside of virSecurityReportError expands to
virRaiseErrorFull and includes the __FILE__, __FUNCTION__ and __LINE__
information. But this three values are always the same for every call
to virSecurityReportError and do not reflect the actual error context.

Converting virSecurityReportError into a macro results in getting the
correct __FILE__, __FUNCTION__ and __LINE__ information.
src/security/security_driver.c
src/security/security_driver.h