mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
id: remove unnecessary coercion
This commit is contained in:
parent
2b2bdc89ff
commit
e0d9347182
1 changed files with 1 additions and 1 deletions
2
id/id.rs
2
id/id.rs
|
@ -383,7 +383,7 @@ fn id_print(possible_pw: Option<c_passwd>,
|
||||||
}
|
}
|
||||||
|
|
||||||
let egid = unsafe { getegid() };
|
let egid = unsafe { getegid() };
|
||||||
if p_egid && (egid != gid as u32) {
|
if p_egid && (egid != gid) {
|
||||||
print!(" egid={:u}", egid);
|
print!(" egid={:u}", egid);
|
||||||
unsafe {
|
unsafe {
|
||||||
let grp = getgrgid(egid);
|
let grp = getgrgid(egid);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue