diff options
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
-rw-r--r-- | net/sunrpc/svcauth_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index bcd574f2ac56..521d8f7dc833 100644 --- a/net/sunrpc/svcauth_unix.c +++ b/net/sunrpc/svcauth_unix.c | |||
@@ -507,7 +507,7 @@ static int unix_gid_parse(struct cache_detail *cd, | |||
507 | time_t expiry; | 507 | time_t expiry; |
508 | struct unix_gid ug, *ugp; | 508 | struct unix_gid ug, *ugp; |
509 | 509 | ||
510 | if (mlen <= 0 || mesg[mlen-1] != '\n') | 510 | if (mesg[mlen - 1] != '\n') |
511 | return -EINVAL; | 511 | return -EINVAL; |
512 | mesg[mlen-1] = 0; | 512 | mesg[mlen-1] = 0; |
513 | 513 | ||