Commit 49372f26 authored by Rahul Pathak's avatar Rahul Pathak Committed by Anup Patel
Browse files

lib: sbi: Fix sbi_strnlen wrong count decrement

count(maxlen) should not be decremented here

Fixes: 1901e8a2

 ("platform: Add minimal libc support.")
Signed-off-by: default avatarRahul Pathak <rpathak@ventanamicro.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 8ce486a7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment