]> code.ossystems Code Review - openembedded-core.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>
Tue, 28 Feb 2017 11:26:32 +0000 (11:26 +0000)
commit3f11e4cbb36fc65ff92296065e5f0a508b210ac7
tree4e33c3d18d750347ee154a45c602a1cde9fe395e
parentd493f0b4760808f880a0fd6dedf918a3b85006b7
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

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
scripts/runqemu