aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/svcauth_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c
index 01153ead1dba..6ab35736d88f 100644
--- a/net/sunrpc/svcauth_unix.c
+++ b/net/sunrpc/svcauth_unix.c
@@ -509,7 +509,7 @@ static int unix_gid_parse(struct cache_detail *cd,
509 time_t expiry; 509 time_t expiry;
510 struct unix_gid ug, *ugp; 510 struct unix_gid ug, *ugp;
511 511
512 if (mlen <= 0 || mesg[mlen-1] != '\n') 512 if (mesg[mlen - 1] != '\n')
513 return -EINVAL; 513 return -EINVAL;
514 mesg[mlen-1] = 0; 514 mesg[mlen-1] = 0;
515 515