Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fbarray: fix log message on truncation error
[ upstream commit 2a2ebea ] When file truncation fails, the log message attempts to print a path of file we failed to truncate, but this path was never set to anything and, what's worse, was uninitialized. Fix it by passing path from the caller. Coverity issue: 366122 Fixes: c44d098 ("eal: add shared indexed file-backed array") Reported-by: Andrew Boyer <aboyer@pensando.io> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
- Loading branch information