cmd/sbi: format RustSBI version number
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 4 Oct 2022 08:09:52 +0000 (10:09 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 20 Oct 2022 07:22:15 +0000 (15:22 +0800)
commit9487764e7e4f58a41fcfc4df7ae0db5fa4e4ffd8
treeb96cc8f93eb5ecb8c3ac8592dcd33c92437daf7c
parent3724ddf157aab3bd009c1da234b9a1af1621b544
cmd/sbi: format RustSBI version number

The SBI command can print out the version number of the SBI implementation.
Choose the correct output format for RustSBI.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Rick Chen <rick@andestech.com>
cmd/riscv/sbi.c