[openssh-commits] [openssh] 01/02: Fix format string integer type in error message.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jul 19 07:44:09 AEST 2019


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 22b9b3e944880db906c6ac5527c4228bd92b293a
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Thu Jul 18 13:40:12 2019 +1000

    Fix format string integer type in error message.
---
 openbsd-compat/bsd-setres_id.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 	}

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list