提交 ccdb357c 编写于 作者: J J. Bruce Fields

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: NJ. Bruce Fields <bfields@citi.umich.edu>
上级 301e99ce
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册