mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-27 03:11:00 +00:00
Fix format string integer type in error message.
This commit is contained in:
parent
ed46a0c070
commit
22b9b3e944
@ -50,7 +50,7 @@ setresgid(gid_t rgid, gid_t egid, gid_t sgid)
|
||||
}
|
||||
if (setgid(rgid) < 0) {
|
||||
saved_errno = errno;
|
||||
error("setgid %ul: %.100s", (u_long)rgid, strerror(errno));
|
||||
error("setgid %lu: %.100s", (u_long)rgid, strerror(errno));
|
||||
errno = saved_errno;
|
||||
ret = -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user