]> code.ossystems Code Review - openembedded-core.git/commit
rpm: fix return without value in patch
authorRoss Burton <ross.burton@intel.com>
Tue, 6 Oct 2015 13:03:13 +0000 (14:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Oct 2015 23:07:30 +0000 (00:07 +0100)
commit26e90d64b51e1e53e9314f9c56939f5f6d525449
tree7e50d47655c270e0e12b914ccd1f484723fa309d
parent727e24f9d7818929a4777338fadbb5a431273fe6
rpm: fix return without value in patch

The error patch in rpm-check-rootpath-reasonableness.patch did a bare return
from a function that should be returning an int.  As this is the error path,
return -1 instead.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/rpm/rpm/rpm-check-rootpath-reasonableness.patch