From f3d0308736af6993d7f0b177895b90e46390579a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 29 Nov 2022 10:52:14 +0000 Subject: Fix strerr_warn7x definition Signed-off-by: Laurent Bercot --- src/libstrerr/strerr_warn7x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libstrerr/strerr_warn7x.c b/src/libstrerr/strerr_warn7x.c index f963323..39c374b 100644 --- a/src/libstrerr/strerr_warn7x.c +++ b/src/libstrerr/strerr_warn7x.c @@ -4,8 +4,8 @@ #include -void strerr_warnv2 (char const *x1, char const *x2) +void strerr_warn7x (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7) { - char const *v[2] = { x1, x2 } ; - strerr_warnv(v, 2) ; + char const *v[7] = { x1, x2, x3, x4, x5, x6, x7 } ; + strerr_warnv(v, 7) ; } -- cgit v1.2.3