]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: mbr: Adjust test to drop 0x
authorSimon Glass <sjg@chromium.org>
Sun, 1 Sep 2024 22:26:22 +0000 (16:26 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 18 Sep 2024 19:01:00 +0000 (13:01 -0600)
commite7474ac6895a340d81d6ee2706e1dd227331adf7
tree81f51cffb8dad85012fb151be1ad1c202f60c942
parent1c9b37ec0332246de3104f166f08ecd0eb978051
test: mbr: Adjust test to drop 0x

U-Boot commands typically don't need 0x to specify hex, since they use
hex by default. Adding 0x in this test is confusing since it suggests
that it is necessary. Drop it from the file.

Also use the %#x construct to get the 0x when needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/cmd/mbr.c