]> git.baikalelectronics.ru Git - uboot.git/commit
env: Use better name for variable in env_get_f()
authorMarek Behún <marek.behun@nic.cz>
Sun, 17 Oct 2021 15:36:32 +0000 (17:36 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Oct 2021 18:50:48 +0000 (12:50 -0600)
commit878f4e6cb8fa7032d01d3e2a9bd5e886dc9601e5
tree95d924c8825bb1c1900ec6fd4b0e8579b6b23fcc
parent4fc0ff5b301093c4d200aeb463ea6d1ca354ada8
env: Use better name for variable in env_get_f()

The `nxt` variable actually points to the terminating null-byte of the
current env var, and the next env var is at `nxt + 1`, not `nxt`. So a
better name for this variable is `end`.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/nvedit.c