mirror of
https://github.com/neocturne/fastd.git
synced 2025-05-14 12:25:07 +02:00
Print UID and GID as unsigned in log message
This commit is contained in:
parent
7306ae9a02
commit
38b71290e4
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ static void set_user(void) {
|
||||||
exit_errno("setreuid");
|
exit_errno("setreuid");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
pr_info("changed to UID %i, GID %i", (int)conf.uid, (int)conf.gid);
|
pr_info("changed to UID %u, GID %u", (unsigned)conf.uid, (unsigned)conf.gid);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue