aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-10-03 23:10:41 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-10-03 23:10:41 +0000
commitc41b161812101300570d48b1fdd17600765992dc (patch)
treedf9eed24304d13817ed46b0fdd6025dc9b31c724
parentd74024a490c877c6b5c7a2de7a69dcfa9486162f (diff)
downloadsrc-c41b161812101300570d48b1fdd17600765992dc.tar.gz
src-c41b161812101300570d48b1fdd17600765992dc.zip
ypldap: Fix mismatch in array bounds for ldapclient().
Reviewed by: emaste Reported by: GCC -Warray-parameter Differential Revision: https://reviews.freebsd.org/D36807
-rw-r--r--usr.sbin/ypldap/ypldap.h2
1 files changed, 1 insertions, 1 deletions
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 *);