diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-07-18 13:40:12 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-07-19 07:23:26 +1000 |
commit | 22b9b3e944880db906c6ac5527c4228bd92b293a (patch) | |
tree | ac0b9cc846035d33da15e1e1f269fc54666f91c8 /openbsd-compat/bsd-setres_id.c | |
parent | ed46a0c0705895834d3f47a46faa89c2a71b760a (diff) |
Fix format string integer type in error message.
Diffstat (limited to 'openbsd-compat/bsd-setres_id.c')
-rw-r--r-- | openbsd-compat/bsd-setres_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-setres_id.c b/openbsd-compat/bsd-setres_id.c index a8e76bf6..04752d5a 100644 --- a/openbsd-compat/bsd-setres_id.c +++ b/openbsd-compat/bsd-setres_id.c @@ -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; } |