Skip to content

Commit

Permalink
svcrpc: treat uid's as unsigned
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
J. Bruce Fields committed Mar 2, 2010
1 parent 301e99c commit ccdb357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sunrpc/svcauth_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ static int unix_gid_show(struct seq_file *m,
else
glen = 0;

seq_printf(m, "%d %d:", ug->uid, glen);
seq_printf(m, "%u %d:", ug->uid, glen);
for (i = 0; i < glen; i++)
seq_printf(m, " %d", GROUP_AT(ug->gi, i));
seq_printf(m, "\n");
Expand Down

0 comments on commit ccdb357

Please sign in to comment.