[openssh-commits] [openssh] 03/05: upstream: use logit_f("...") instead of logit("func: ...")
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed May 21 18:50:08 AEST 2025
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 0c14e6b69a20f20d602e0e72559ca3f4dbc797fb
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Wed May 21 06:44:24 2025 +0000
upstream: use logit_f("...") instead of logit("func: ...")
OpenBSD-Commit-ID: c8d49eb39a9abff3cbcaeaf7df9d48468a5a0695
---
dispatch.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dispatch.c b/dispatch.c
index 6118147bf..430b6afda 100644
--- a/dispatch.c
+++ b/dispatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.c,v 1.33 2023/03/05 05:34:09 dtucker Exp $ */
+/* $OpenBSD: dispatch.c,v 1.34 2025/05/21 06:44:24 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -41,7 +41,7 @@ dispatch_protocol_error(int type, u_int32_t seq, struct ssh *ssh)
{
int r;
- logit("dispatch_protocol_error: type %d seq %u", type, seq);
+ logit_f("type %d seq %u", type, seq);
if ((r = sshpkt_start(ssh, SSH2_MSG_UNIMPLEMENTED)) != 0 ||
(r = sshpkt_put_u32(ssh, seq)) != 0 ||
(r = sshpkt_send(ssh)) != 0 ||
@@ -53,7 +53,7 @@ dispatch_protocol_error(int type, u_int32_t seq, struct ssh *ssh)
int
dispatch_protocol_ignore(int type, u_int32_t seq, struct ssh *ssh)
{
- logit("dispatch_protocol_ignore: type %d seq %u", type, seq);
+ logit_f("type %d seq %u", type, seq);
return 0;
}
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list