From: Darren Tucker Date: Thu, 18 Jul 2019 03:40:12 +0000 (+1000) Subject: Fix format string integer type in error message. X-Git-Tag: V_8_1_P1~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22b9b3e944880db906c6ac5527c4228bd92b293a;p=thirdparty%2Fopenssh-portable.git Fix format string integer type in error message. --- diff --git a/openbsd-compat/bsd-setres_id.c b/openbsd-compat/bsd-setres_id.c index a8e76bf60..04752d5af 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; }