tools: env validate: pass values as 0-based array
authorAndreas Fenkart <andreas.fenkart@digitalstrom.com>
Wed, 9 Dec 2015 12:13:21 +0000 (13:13 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 8 Feb 2016 15:10:29 +0000 (10:10 -0500)
commit167f52587173ad87aac7780058d59aa96422eed0
treed39de91480d87b075fec417430042ffff6be2823
parent57dc53a72460e8e301fa1cc7951b41db8e731485
tools: env validate: pass values as 0-based array

passing argv/argc can produce off-by-one errors

Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com>
common/env_flags.c
include/env_flags.h
tools/env/fw_env.c