Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2021 14:01:01 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1e67e3109d9d - main - setkey: drop an unused argument from postproc
Message-ID:  <202107081401.168E119E088360@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=1e67e3109d9df74c9de60f0f6ee4d8f303c2d7bd

commit 1e67e3109d9df74c9de60f0f6ee4d8f303c2d7bd
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-07-08 11:31:43 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-07-08 14:00:55 +0000

    setkey: drop an unused argument from postproc
---
 sbin/setkey/setkey.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sbin/setkey/setkey.c b/sbin/setkey/setkey.c
index 9e896996a259..d556a842f048 100644
--- a/sbin/setkey/setkey.c
+++ b/sbin/setkey/setkey.c
@@ -61,7 +61,7 @@ int get_supported(void);
 void sendkeyshort(u_int, uint8_t);
 void promisc(void);
 int sendkeymsg(char *, size_t);
-int postproc(struct sadb_msg *, int);
+int postproc(struct sadb_msg *);
 const char *numstr(int);
 void shortdump_hdr(void);
 void shortdump(struct sadb_msg *);
@@ -355,7 +355,7 @@ again:
 			kdebug_sadb((struct sadb_msg *)rbuf);
 			printf("\n");
 		}
-		if (postproc(msg, l) < 0)
+		if (postproc(msg) < 0)
 			break;
 	} while (msg->sadb_msg_errno || msg->sadb_msg_seq);
 
@@ -370,7 +370,7 @@ end:
 }
 
 int
-postproc(struct sadb_msg *msg, int len)
+postproc(struct sadb_msg *msg)
 {
 
 	if (msg->sadb_msg_errno != 0) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107081401.168E119E088360>