]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: use logit_f("...") instead of logit("func: ...")
authordjm@openbsd.org <djm@openbsd.org>
Wed, 21 May 2025 06:44:24 +0000 (06:44 +0000)
committerDamien Miller <djm@mindrot.org>
Wed, 21 May 2025 08:49:12 +0000 (18:49 +1000)
OpenBSD-Commit-ID: c8d49eb39a9abff3cbcaeaf7df9d48468a5a0695

dispatch.c

index 6118147bf1401f9f54eb77acf16bc4825e6474b2..430b6afda1d31e04ffca330b4ae9aab2e4c8b544 100644 (file)
@@ -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;
 }