X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=cmd%2Fzip.c;h=d105d84e380c6c36c84e50eb5e999d8af8a0dcf2;hb=a0115ceb56ad71c3c34091d9d8ba5938708c900d;hp=7fcd9d5bf8731f1aa9ddd10185994b1ca09e2768;hpb=2218c54bc13c8045903afc05d1364439a230da1f;p=u-boot diff --git a/cmd/zip.c b/cmd/zip.c index 7fcd9d5bf8..d105d84e38 100644 --- a/cmd/zip.c +++ b/cmd/zip.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2012 * Lei Wen , Marvell Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -30,7 +29,7 @@ static int do_zip(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) return 1; printf("Compressed size: %ld = 0x%lX\n", dst_len, dst_len); - setenv_hex("filesize", dst_len); + env_set_hex("filesize", dst_len); return 0; }