skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit f3d0308736af6993d7f0b177895b90e46390579a
parent 06011c29aef19d8ed90ebf48095e1ff2a846ba23
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Tue, 29 Nov 2022 10:52:14 +0000

 Fix strerr_warn7x definition

Signed-off-by: Laurent Bercot <ska@appnovation.com>

Diffstat:
Msrc/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 @@ -4,8 +4,8 @@ #include <skalibs/strerr.h> -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) ; }