crypto: tcrypt - Fix module return code when testing by name
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 19 Jun 2009 12:37:00 +0000 (20:37 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 19 Jun 2009 12:37:00 +0000 (20:37 +0800)
commitea4006576945195ed35824acfb4007ca7cb78b70
tree56cc0724ba883055696b5c223a4dc3ec10b573f9
parent27300176d75e4723e2125e745a98a77bf0133f72
crypto: tcrypt - Fix module return code when testing by name

We should return 0/-ENOENT instead of 1/0 when testing by name.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c