diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2022-11-29 10:52:14 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2022-11-29 10:52:14 +0000 |
commit | f3d0308736af6993d7f0b177895b90e46390579a (patch) | |
tree | 791cb9a3049e19e770f16e386771982cc9f53402 /src/libstrerr | |
parent | 06011c29aef19d8ed90ebf48095e1ff2a846ba23 (diff) | |
download | skalibs-f3d0308736af6993d7f0b177895b90e46390579a.tar.gz skalibs-f3d0308736af6993d7f0b177895b90e46390579a.tar.xz skalibs-f3d0308736af6993d7f0b177895b90e46390579a.zip |
Fix strerr_warn7x definition
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libstrerr')
-rw-r--r-- | src/libstrerr/strerr_warn7x.c | 6 |
1 files 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 <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) ; } |