]> git.dujemihanovic.xyz Git - u-boot.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)
commitd1bca8d2a18eb4a850c0ecbc9327eb3dfa5df5e1
tree95d924c8825bb1c1900ec6fd4b0e8579b6b23fcc
parenteff73b2eed28389805e8dda6632f6c5f29b3e9b6
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