commit | 3179ce7254ffa43f3ba4409f31a954ecc4a8d408 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Sat May 11 15:35:32 2013 +0200 |
committer | Richard Weinberger <richard@nod.at> | Fri Jul 19 10:45:17 2013 +0200 |
tree | 0af7d0b24486289bc0333f5812eac1b7cddea9e6 | |
parent | ecb2cf1a6b63825a258ff4fe0d7f3070fbe4676b [diff] |
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: toralf.foerster@gmx.de Signed-off-by: Richard Weinberger <richard@nod.at>