]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
runqemu: fix undefined variable reference in check_arg_path()
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 10 Jan 2017 11:46:58 +0000 (12:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Mar 2017 11:17:44 +0000 (11:17 +0000)
commit29618da02dee90b8303aaab42153796ebe6db518
treec2bcdd84e1ba8135c58bbb1bde021ddc3917a61c
parent3ee86f53266ba9fef1b61b6e790eddc3b6b1a944
runqemu: fix undefined variable reference in check_arg_path()

'arg' isn't defined, the right name there is 'p'.

This fixes a rather obscure error message when that code path
ends up being taken:

$ runqemu some/existing-file-name
runqemu - ERROR - name 'arg' is not defined
runqemu - ERROR - Try 'runqemu help' on how to use it

(From OE-Core rev: 3f11e4cbb36fc65ff92296065e5f0a508b210ac7)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu