diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2019-06-05 16:54:45 -0400 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2019-07-04 11:51:01 +0900 |
commit | d68a29771f47bccd45fae72eef86ee6586deaf63 (patch) | |
tree | 2787b1118a75f8356bac56299311fd603c5736db /src | |
parent | 83e3300a2df2360b69760614084826793c64e769 (diff) |
libcamera: ipa_module: add path to module loading error message
Add an error message to tell, if an IPA module failed to load, the
path to the IPA module shared object that was attempted to be loaded.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/ipa_module.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcamera/ipa_module.cpp b/src/libcamera/ipa_module.cpp index 58e8d1d8..d201b4f8 100644 --- a/src/libcamera/ipa_module.cpp +++ b/src/libcamera/ipa_module.cpp @@ -289,6 +289,10 @@ int IPAModule::loadIPAModuleInfo() unmap: munmap(map, soSize); close: + if (ret) + LOG(IPAModule, Error) + << "Error loading IPA module info for " << libPath_; + close(fd); return ret; } |