X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cmd%2Fzip.c;h=9cd400a7e80f2053edfa7054a164b44c971ebf90;hb=77195216ff1d1d75a7a988bf577f02340f28479d;hp=dac7527721861dfbf45c736304141d7236b3b632;hpb=ceff355a5f3038ddb49618d9adc716b0ed978aea;p=oweals%2Fu-boot.git diff --git a/cmd/zip.c b/cmd/zip.c index dac7527721..9cd400a7e8 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 @@ -29,7 +28,7 @@ static int do_zip(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) if (gzip((void *) dst, &dst_len, (void *) src, src_len) != 0) return 1; - printf("Compressed size: %ld = 0x%lX\n", dst_len, dst_len); + printf("Compressed size: %lu = 0x%lX\n", dst_len, dst_len); env_set_hex("filesize", dst_len); return 0;