diff --git a/cmd/nand.c b/cmd/nand.c index c16ec77ed454fe9716997f8114b9597c034756d5..72ca88a943c5d795d4b4631ee52c2b0511b75b2b 100644 --- a/cmd/nand.c +++ b/cmd/nand.c @@ -295,8 +295,8 @@ static void nand_print_and_set_info(int idx) printf(" OOB size %8d b\n", mtd->oobsize); printf(" Erase size %8d b\n", mtd->erasesize); printf(" subpagesize %8d b\n", chip->subpagesize); - printf(" options 0x%8x\n", chip->options); - printf(" bbt options 0x%8x\n", chip->bbt_options); + printf(" options 0x%08x\n", chip->options); + printf(" bbt options 0x%08x\n", chip->bbt_options); /* Set geometry info */ setenv_hex("nand_writesize", mtd->writesize);