Zero-pad byte properties

.properties before:
someproperty              -- 3 : 1 42 3

Now:
someproperty              -- 3 : 01 42 03

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@890 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Andreas Färber
2010-10-09 10:16:21 +00:00
committed by Blue Swirl
parent 47803b04da
commit 18b3992073

View File

@@ -283,7 +283,7 @@
dup r@ + c@
( len n ch )
pocket tohexstr type ." "
pocket tohexstr dup 2 <> if ." 0" then type ." "
1+
repeat
2drop r> drop 1