mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-29 17:41:56 +01:00

Fix special case: sbi_snprintf(out, out_len, ...) when out_len equal 1, The previous code will not fill the buffer with any char. Signed-off-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup@brainfault.org>