summaryrefslogtreecommitdiff
path: root/cmd/jffs2.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/jffs2.c')
-rw-r--r--cmd/jffs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/jffs2.c b/cmd/jffs2.c
index dc94705ccd7..add89dee6ab 100644
--- a/cmd/jffs2.c
+++ b/cmd/jffs2.c
@@ -512,7 +512,7 @@ int do_jffs2_fsload(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
if (size > 0) {
printf("### %s load complete: %d bytes loaded to 0x%lx\n",
fsname, size, offset);
- setenv_hex("filesize", size);
+ env_set_hex("filesize", size);
} else {
printf("### %s LOAD ERROR<%x> for %s!\n", fsname, size, filename);
}