Print UID and GID as unsigned in log message

This commit is contained in:
Matthias Schiffer 2016-02-21 20:35:09 +01:00
parent 7306ae9a02
commit 38b71290e4

View file

@ -329,7 +329,7 @@ static void set_user(void) {
exit_errno("setreuid");
#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
}