summaryrefslogtreecommitdiff
path: root/cmd/zfs.c
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2017-08-03 12:22:10 -0600
committerTom Rini <[email protected]>2017-08-16 08:23:32 -0400
commit018f530323b2cc41be05be5b12375d3648f06554 (patch)
treeb397b84a059e5b704c20c9097577ada6fc4ba296 /cmd/zfs.c
parent382bee57f19b4454e2015bc19a010bc2d0ab9337 (diff)
env: Rename common functions related to setenv()
We are now using an env_ prefix for environment functions. Rename these commonly used functions, for consistency. Also add function comments in common.h. Suggested-by: Wolfgang Denk <[email protected]> Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'cmd/zfs.c')
-rw-r--r--cmd/zfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zfs.c b/cmd/zfs.c
index 3ed9912d19b..08b0062c105 100644
--- a/cmd/zfs.c
+++ b/cmd/zfs.c
@@ -115,7 +115,7 @@ static int do_zfs_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]
load_addr = addr;
printf("%llu bytes read\n", zfile.size);
- setenv_hex("filesize", zfile.size);
+ env_set_hex("filesize", zfile.size);
return 0;
}