]> git.dujemihanovic.xyz Git - u-boot.git/commit
fw_env: fix build error
authorPierre-Jean Texier <pjtexier@koncepto.io>
Mon, 26 Aug 2019 11:06:16 +0000 (13:06 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Sep 2019 21:46:13 +0000 (17:46 -0400)
commit7ce01c78dcd34b49c779467c33953c931bf7bf06
treedbea214b97aa561841bb6f32fddda15a0b8d1b0b
parente184a3b4fd5809a03fa8a821137103bcbbda4cd0
fw_env: fix build error

The following error appears:

tools/env/fw_env.c:1149:25: error: lvalue required as unary ‘&’ operand
  rc = write(fd, &ENV_REDUND_OBSOLETE, sizeof(ENV_REDUND_OBSOLETE));

Fixes: d3716dd ("env: Rename the redundancy flags")
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Tested-by: Joris Offouga <offougajoris@gmail.com>
Tested-by: Heiko Schocher <hs@denx.de>
Suggested-by: Heiko Schocher <hs@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
tools/env/fw_env.c