[PATCH] sftp-server: fix typo in uid error message
Mike Frysinger
vapier at gentoo.org
Wed Nov 9 19:01:23 AEDT 2022
Fix a copy & paste error from the gid code path.
---
sftp-server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sftp-server.c b/sftp-server.c
index 4a69989837fd..d5e230284587 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1857,7 +1857,7 @@ process_extended_get_users_groups_by_id(u_int32_t id)
name = user_pw == NULL ? "" : user_pw->pw_name;
debug3_f("uid %u => \"%s\"", n, name);
if ((r = sshbuf_put_cstring(usernames, name)) != 0)
- fatal_fr(r, "assemble gid reply");
+ fatal_fr(r, "assemble uid reply");
nusers++;
}
while (sshbuf_len(gids) != 0) {
--
2.38.1
More information about the openssh-unix-dev
mailing list