From c41b161812101300570d48b1fdd17600765992dc Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 3 Oct 2022 16:10:41 -0700 Subject: ypldap: Fix mismatch in array bounds for ldapclient(). Reviewed by: emaste Reported by: GCC -Warray-parameter Differential Revision: https://reviews.freebsd.org/D36807 --- usr.sbin/ypldap/ypldap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ypldap/ypldap.h b/usr.sbin/ypldap/ypldap.h index 07e633fdeca5..702e3a5d06d6 100644 --- a/usr.sbin/ypldap/ypldap.h +++ b/usr.sbin/ypldap/ypldap.h @@ -197,7 +197,7 @@ int parse_config(struct env *, const char *, int); int cmdline_symset(char *); /* ldapclient.c */ -pid_t ldapclient(int []); +pid_t ldapclient(int [2]); /* ypldap.c */ void purge_config(struct env *); -- cgit v1.2.3