diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-02 15:49:21 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-02 15:49:21 -0500 |
commit | ccdb357ccb77cc4cbe4f7abee9efd19957f0753a (patch) | |
tree | 5faf2de550991aeb7dd7ef42c79eb163ef9a3fbe /net | |
parent | 301e99ce4a2f42a317129230fd42e6cd874c64b0 (diff) |
svcrpc: treat uid's as unsigned
We should consistently treat uid's as unsigned--it's confusing when
the display of uid's in the cache contents isn't consistent with their
representation in upcalls.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net')
-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 97f0e9e12024..afdcb0459a83 100644 --- a/net/sunrpc/svcauth_unix.c +++ b/net/sunrpc/svcauth_unix.c | |||
@@ -624,7 +624,7 @@ static int unix_gid_show(struct seq_file *m, | |||
624 | else | 624 | else |
625 | glen = 0; | 625 | glen = 0; |
626 | 626 | ||
627 | seq_printf(m, "%d %d:", ug->uid, glen); | 627 | seq_printf(m, "%u %d:", ug->uid, glen); |
628 | for (i = 0; i < glen; i++) | 628 | for (i = 0; i < glen; i++) |
629 | seq_printf(m, " %d", GROUP_AT(ug->gi, i)); | 629 | seq_printf(m, " %d", GROUP_AT(ug->gi, i)); |
630 | seq_printf(m, "\n"); | 630 | seq_printf(m, "\n"); |