Skip to content
Commit 3179ce72 authored by Richard Weinberger's avatar Richard Weinberger
Browse files

um: Fix return value of strnlen_user()



In case of an error it must not return -EFAULT.
Return 0 like all other archs do.

Reported-by: default avatar <toralf.foerster@gmx.de>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent ecb2cf1a
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