-
-
Save sharewax/265009bdc5c178f43d3f81c35d68cfae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eSTxBo | |
+ umask 022 | |
+ cd /builddir/build/BUILD | |
+ cd /builddir/build/BUILD | |
+ rm -rf ladvd-1.1.2 | |
+ /usr/bin/tar -xof - | |
+ /usr/bin/gzip -dc /builddir/build/SOURCES/ladvd-1.1.2.tar.gz | |
+ STATUS=0 | |
+ '[' 0 -ne 0 ']' | |
+ cd ladvd-1.1.2 | |
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . | |
+ /usr/bin/cat /builddir/build/SOURCES/0001-vxlan-as-tun-interface-and-should-be-ignored-for-phy.patch | |
+ /usr/bin/patch -p1 -s --fuzz=2 --no-backup-if-mismatch | |
+ /usr/bin/cat /builddir/build/SOURCES/0002-Update-sysinfo.c.patch | |
+ /usr/bin/patch -p1 -s --fuzz=2 --no-backup-if-mismatch | |
+ /usr/bin/cat /builddir/build/SOURCES/0003-Fix-Port-ID-length-for-unknown-terminals.patch | |
+ /usr/bin/patch -p1 -s --fuzz=2 --no-backup-if-mismatch | |
+ /usr/bin/cat /builddir/build/SOURCES/0004-switch-to-PATH_MAX.patch | |
+ /usr/bin/patch -p1 -s --fuzz=2 --no-backup-if-mismatch | |
+ RPM_EC=0 | |
++ jobs -p | |
+ exit 0 | |
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ew9UEZ | |
+ umask 022 | |
+ cd /builddir/build/BUILD | |
+ cd ladvd-1.1.2 | |
+ autoreconf -fi | |
libtoolize: putting auxiliary files in '.'. | |
libtoolize: copying file './ltmain.sh' | |
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. | |
libtoolize: copying file 'm4/libtool.m4' | |
libtoolize: copying file 'm4/ltoptions.m4' | |
libtoolize: copying file 'm4/ltsugar.m4' | |
libtoolize: copying file 'm4/ltversion.m4' | |
libtoolize: copying file 'm4/lt~obsolete.m4' | |
configure.ac:16: installing './compile' | |
configure.ac:7: installing './config.guess' | |
configure.ac:7: installing './config.sub' | |
configure.ac:11: installing './install-sh' | |
configure.ac:11: installing './missing' | |
src/Makefile.am: installing './depcomp' | |
parallel-tests: installing './test-driver' | |
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' | |
+ export CFLAGS | |
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' | |
+ export CXXFLAGS | |
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' | |
+ export FFLAGS | |
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' | |
+ export FCFLAGS | |
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' | |
+ export LDFLAGS | |
+ LT_SYS_LIBRARY_PATH=/usr/lib64: | |
+ export LT_SYS_LIBRARY_PATH | |
+ CC=gcc | |
+ export CC | |
+ CXX=g++ | |
+ export CXX | |
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' | |
++ find . -type f -name configure -print | |
+ for file in $(find . -type f -name configure -print) | |
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure | |
+ diff -u ./configure.backup ./configure | |
+ mv ./configure.backup ./configure | |
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure | |
+ diff -u ./configure.backup ./configure | |
+ mv ./configure.backup ./configure | |
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure | |
+ diff -u ./configure.backup ./configure | |
--- ./configure.backup 2022-08-24 14:02:33.114966290 +0000 | |
+++ ./configure 2022-08-24 14:02:34.850123332 +0000 | |
@@ -1977,7 +1977,7 @@ | |
#ifdef __cplusplus | |
extern "C" | |
#endif | |
-char $2 (); | |
+__attribute__ ((used)) char $2 (); | |
/* The GNU C library defines this for functions which it implements | |
to always fail with ENOSYS. Some functions are actually named | |
something starting with __ and the normal name is an alias. */ | |
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure | |
+ diff -u ./configure.backup ./configure | |
+ mv ./configure.backup ./configure | |
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure | |
+ diff -u ./configure.backup ./configure | |
--- ./configure.backup 2022-08-24 14:02:34.850123332 +0000 | |
+++ ./configure 2022-08-24 14:02:34.882126228 +0000 | |
@@ -7377,7 +7377,7 @@ | |
# Transform an extracted symbol line into a proper C declaration. | |
# Some systems (esp. on ia64) link data and code symbols differently, | |
# so use this general approach. | |
-lt_cv_sys_global_symbol_to_cdecl="sed -n"\ | |
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | |
$lt_cdecl_hook\ | |
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ | |
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" | |
@@ -19953,7 +19953,7 @@ | |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' | |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' | |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' | |
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' | |
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | |
lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' | |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' | |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' | |
+ '[' 1 = 1 ']' | |
+++ dirname ./configure | |
++ find . -name config.guess -o -name config.sub | |
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) | |
++ basename ./config.sub | |
+ '[' -f /usr/lib/rpm/redhat/config.sub ']' | |
+ /usr/bin/rm -f ./config.sub | |
++ basename ./config.sub | |
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub | |
'/usr/lib/rpm/redhat/config.sub' -> './config.sub' | |
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) | |
++ basename ./config.guess | |
+ '[' -f /usr/lib/rpm/redhat/config.guess ']' | |
+ /usr/bin/rm -f ./config.guess | |
++ basename ./config.guess | |
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess | |
'/usr/lib/rpm/redhat/config.guess' -> './config.guess' | |
+ '[' 1 = 1 ']' | |
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' | |
++ find . -name ltmain.sh | |
+ for i in $(find . -name ltmain.sh) | |
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh | |
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --docdir=/usr/share/doc/ladvd | |
checking build system type... x86_64-redhat-linux-gnu | |
checking host system type... x86_64-redhat-linux-gnu | |
checking target system type... x86_64-redhat-linux-gnu | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p | |
checking for gawk... gawk | |
checking whether make sets $(MAKE)... yes | |
checking whether make supports nested variables... yes | |
checking whether make supports nested variables... (cached) yes | |
checking for x86_64-redhat-linux-gnu-gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking whether gcc understands -c and -o together... yes | |
checking whether make supports the include directive... yes (GNU style) | |
checking dependency style of gcc... none | |
checking for gcc option to accept ISO C99... none needed | |
checking whether we are using the GNU C++ compiler... yes | |
checking whether g++ accepts -g... yes | |
checking dependency style of g++... none | |
checking how to run the C preprocessor... gcc -E | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/bin/grep -E | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking minix/config.h usability... no | |
checking minix/config.h presence... no | |
checking for minix/config.h... no | |
checking whether it is safe to define __EXTENSIONS__... yes | |
checking for egrep... (cached) /usr/bin/grep -E | |
checking how to print strings... printf | |
checking for a sed that does not truncate output... /usr/bin/sed | |
checking for fgrep... /usr/bin/grep -F | |
checking for ld used by gcc... /usr/bin/ld | |
checking if the linker (/usr/bin/ld) is GNU ld... yes | |
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B | |
checking the name lister (/usr/bin/nm -B) interface... BSD nm | |
checking whether ln -s works... yes | |
checking the maximum length of command line arguments... 1572864 | |
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop | |
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop | |
checking for /usr/bin/ld option to reload object files... -r | |
checking for x86_64-redhat-linux-gnu-objdump... no | |
checking for objdump... objdump | |
checking how to recognize dependent libraries... pass_all | |
checking for x86_64-redhat-linux-gnu-dlltool... no | |
checking for dlltool... no | |
checking how to associate runtime and link libraries... printf %s\n | |
checking for x86_64-redhat-linux-gnu-ar... no | |
checking for ar... ar | |
checking for archiver @FILE support... @ | |
checking for x86_64-redhat-linux-gnu-strip... no | |
checking for strip... strip | |
checking for x86_64-redhat-linux-gnu-ranlib... no | |
checking for ranlib... ranlib | |
checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7383: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory | |
ok | |
checking for sysroot... no | |
checking for a working dd... /usr/bin/dd | |
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 | |
checking for x86_64-redhat-linux-gnu-mt... no | |
checking for mt... no | |
checking if : is a manifest tool... no | |
checking for dlfcn.h... yes | |
checking for objdir... .libs | |
checking if gcc supports -fno-rtti -fno-exceptions... no | |
checking for gcc option to produce PIC... -fPIC -DPIC | |
checking if gcc PIC flag -fPIC -DPIC works... yes | |
checking if gcc static flag -static works... no | |
checking if gcc supports -c -o file.o... yes | |
checking if gcc supports -c -o file.o... (cached) yes | |
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | |
checking whether -lc should be explicitly linked in... no | |
checking dynamic linker characteristics... GNU/Linux ld.so | |
checking how to hardcode library paths into programs... immediate | |
checking whether stripping libraries is possible... yes | |
checking if libtool supports shared libraries... yes | |
checking whether to build shared libraries... yes | |
checking whether to build static libraries... yes | |
checking how to run the C++ preprocessor... g++ -E | |
checking for ld used by g++... /usr/bin/ld -m elf_x86_64 | |
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes | |
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | |
checking for g++ option to produce PIC... -fPIC -DPIC | |
checking if g++ PIC flag -fPIC -DPIC works... yes | |
checking if g++ static flag -static works... no | |
checking if g++ supports -c -o file.o... yes | |
checking if g++ supports -c -o file.o... (cached) yes | |
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | |
checking dynamic linker characteristics... (cached) GNU/Linux ld.so | |
checking how to hardcode library paths into programs... immediate | |
checking whether ln -s works... yes | |
checking whether make sets $(MAKE)... (cached) yes | |
checking for a sed that does not truncate output... (cached) /usr/bin/sed | |
checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config | |
checking pkg-config is at least version 0.9.0... yes | |
checking WCFLAGS for gcc -Wall... -Wall | |
checking WCFLAGS for gcc -Wformat -Wformat-security... -Wformat -Wformat-security | |
checking for how to force completely read-only GOT table... -Wl,-z -Wl,relro -Wl,-z -Wl,now | |
checking whether C compiler handles -fPIE -DPIE... yes | |
checking whether the linker accepts the -Werror -pie flag... yes | |
checking whether C compiler handles -fstack-protector -Werror... yes | |
checking whether C compiler handles --param ssp-buffer-size=4... yes | |
checking whether C compiler handles -D_FORTIFY_SOURCE=2... yes | |
checking for socket... yes | |
checking for gethostent... yes | |
checking for CHECK... yes | |
checking for PCI... yes | |
checking pcap.h usability... yes | |
checking pcap.h presence... yes | |
checking for pcap.h... yes | |
checking for pcap_compile in -lpcap... yes | |
checking for pcap_create in -lpcap... yes | |
checking for pcap_set_immediate_mode in -lpcap... yes | |
checking for libevent directory... (system) | |
checking for event_init in -levent... yes | |
checking event.h usability... yes | |
checking event.h presence... yes | |
checking for event.h... yes | |
checking for evhttp.h... yes | |
checking for LIBMNL... yes | |
checking for ANSI C header files... (cached) yes | |
checking fcntl.h usability... yes | |
checking fcntl.h presence... yes | |
checking for fcntl.h... yes | |
checking grp.h usability... yes | |
checking grp.h presence... yes | |
checking for grp.h... yes | |
checking pwd.h usability... yes | |
checking pwd.h presence... yes | |
checking for pwd.h... yes | |
checking stdarg.h usability... yes | |
checking stdarg.h presence... yes | |
checking for stdarg.h... yes | |
checking for stdint.h... (cached) yes | |
checking stdio.h usability... yes | |
checking stdio.h presence... yes | |
checking for stdio.h... yes | |
checking syslog.h usability... yes | |
checking syslog.h presence... yes | |
checking for syslog.h... yes | |
checking sys/file.h usability... yes | |
checking sys/file.h presence... yes | |
checking for sys/file.h... yes | |
checking sys/utsname.h usability... yes | |
checking sys/utsname.h presence... yes | |
checking for sys/utsname.h... yes | |
checking for unistd.h... (cached) yes | |
checking sys/ioctl.h usability... yes | |
checking sys/ioctl.h presence... yes | |
checking for sys/ioctl.h... yes | |
checking for sys/types.h... (cached) yes | |
checking sys/socket.h usability... yes | |
checking sys/socket.h presence... yes | |
checking for sys/socket.h... yes | |
checking sys/time.h usability... yes | |
checking sys/time.h presence... yes | |
checking for sys/time.h... yes | |
checking sys/uio.h usability... yes | |
checking sys/uio.h presence... yes | |
checking for sys/uio.h... yes | |
checking signal.h usability... yes | |
checking signal.h presence... yes | |
checking for signal.h... yes | |
checking ctype.h usability... yes | |
checking ctype.h presence... yes | |
checking for ctype.h... yes | |
checking for string.h... (cached) yes | |
checking assert.h usability... yes | |
checking assert.h presence... yes | |
checking for assert.h... yes | |
checking time.h usability... yes | |
checking time.h presence... yes | |
checking for time.h... yes | |
checking asm/types.h usability... yes | |
checking asm/types.h presence... yes | |
checking for asm/types.h... yes | |
checking linux/sockios.h usability... yes | |
checking linux/sockios.h presence... yes | |
checking for linux/sockios.h... yes | |
checking sys/sockio.h usability... no | |
checking sys/sockio.h presence... no | |
checking for sys/sockio.h... no | |
checking net/if_media.h usability... no | |
checking net/if_media.h presence... no | |
checking for net/if_media.h... no | |
checking for net/if.h... yes | |
checking for net/route.h... yes | |
checking for net/if_mib.h... no | |
checking for linux/ethtool.h... yes | |
checking net/ethernet.h usability... yes | |
checking net/ethernet.h presence... yes | |
checking for net/ethernet.h... yes | |
checking net/ethertypes.h usability... no | |
checking net/ethertypes.h presence... no | |
checking for net/ethertypes.h... no | |
checking netinet/in.h usability... yes | |
checking netinet/in.h presence... yes | |
checking for netinet/in.h... yes | |
checking netinet/ether.h usability... yes | |
checking netinet/ether.h presence... yes | |
checking for netinet/ether.h... yes | |
checking for netinet/if_ether.h... yes | |
checking net/if_types.h usability... no | |
checking net/if_types.h presence... no | |
checking for net/if_types.h... no | |
checking for linux/filter.h... yes | |
checking for LIBTEAM... no | |
checking for linux/if_vlan.h... yes | |
checking for linux/if_bridge.h... yes | |
checking for linux/if_bonding.h... yes | |
checking for linux/if_team.h... yes | |
checking whether GET_VLAN_REALDEV_NAME_CMD is declared... yes | |
checking whether GET_VLAN_VID_CMD is declared... yes | |
checking for net/if_vlan_var.h... no | |
checking for net/if_bridge.h... no | |
checking for net/if_bridgevar.h... no | |
checking for net/if_lagg.h... no | |
checking for net/if_trunk.h... no | |
checking for net/if_bond_var.h... no | |
checking for linux/wireless.h... yes | |
checking net80211/ieee80211.h usability... no | |
checking net80211/ieee80211.h presence... no | |
checking for net80211/ieee80211.h... no | |
checking for net80211/ieee80211_ioctl.h... no | |
checking netpacket/packet.h usability... yes | |
checking netpacket/packet.h presence... yes | |
checking for netpacket/packet.h... yes | |
checking net/bpf.h usability... no | |
checking net/bpf.h presence... no | |
checking for net/bpf.h... no | |
checking net/if_dl.h usability... no | |
checking net/if_dl.h presence... no | |
checking for net/if_dl.h... no | |
checking kenv.h usability... no | |
checking kenv.h presence... no | |
checking for kenv.h... no | |
checking for sys/sysctl.h... no | |
checking cap-ng.h usability... yes | |
checking cap-ng.h presence... yes | |
checking for cap-ng.h... yes | |
checking for capng_clear in -lcap-ng... yes | |
checking whether to use libcap-ng... yes | |
checking for an ANSI C-conforming const... yes | |
checking for size_t... yes | |
checking for uint8_t... yes | |
checking for uint16_t... yes | |
checking for uint32_t... yes | |
checking for vprintf... yes | |
checking for _doprnt... no | |
checking for asprintf... yes | |
checking for memcpy... yes | |
checking for memset... yes | |
checking for snprintf... yes | |
checking for strdup... yes | |
checking for strerror... yes | |
checking for strsep... yes | |
checking for uname... yes | |
checking for socketpair... yes | |
checking for vsyslog... yes | |
checking for setresuid... yes | |
checking for setreuid... yes | |
checking for setresgid... yes | |
checking for setregid... yes | |
checking for setproctitle... no | |
checking for strlcpy... no | |
checking for strlcat... no | |
checking for strnvis... no | |
checking for __strdup... yes | |
checking that generated files are newer than configure... done | |
configure: creating ./config.status | |
config.status: creating Makefile | |
config.status: creating src/Makefile | |
config.status: creating tests/Makefile | |
config.status: creating doc/Makefile | |
config.status: creating systemd/Makefile | |
config.status: creating src/config.h | |
config.status: executing depfiles commands | |
config.status: executing libtool commands | |
+ make -j18 | |
Making all in src | |
make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
make all-am | |
make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
CC main.o | |
CC child.lo | |
CC parent.lo | |
CC cli.lo | |
CC util.lo | |
CC sysinfo.lo | |
CC netif.lo | |
CC proto/tlv.lo | |
CC proto/lldp.lo | |
CC proto/cdp.lo | |
CC proto/edp.lo | |
CC proto/fdp.lo | |
CC proto/ndp.lo | |
CC compat/strlcpy.lo | |
CC compat/strlcat.lo | |
CC compat/setproctitle.lo | |
CC compat/vis.lo | |
CC compat/imsg.lo | |
CC compat/imsg-buffer.lo | |
In file included from /usr/include/ctype.h:25, | |
from compat/vis.c:38: | |
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] | |
194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | |
| ^~~~~~~ | |
CCLD libcompat.la | |
CCLD libproto.la | |
CCLD libmisc.la | |
CCLD ladvd | |
make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
Making all in . | |
make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2' | |
make[1]: Nothing to be done for 'all-am'. | |
make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2' | |
Making all in doc | |
make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/doc' | |
/usr/bin/sed -e s/PACKAGE_USER/ladvd/ \ | |
< ../doc/ladvd.8.in > ladvd.8 | |
/usr/bin/sed -e 's/^HTTP_POST //' -e s/PACKAGE_USER/ladvd/ \ | |
< ../doc/ladvdc.8.in > ladvdc.8 | |
make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/doc' | |
Making all in systemd | |
make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' | |
make[1]: Nothing to be done for 'all'. | |
make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' | |
Making all in tests | |
make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
make[1]: Nothing to be done for 'all'. | |
make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
+ RPM_EC=0 | |
++ jobs -p | |
+ exit 0 | |
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jZOnVt | |
+ umask 022 | |
+ cd /builddir/build/BUILD | |
+ '[' /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64 '!=' / ']' | |
+ rm -rf /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64 | |
++ dirname /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64 | |
+ mkdir -p /builddir/build/BUILDROOT | |
+ mkdir /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64 | |
+ cd ladvd-1.1.2 | |
+ rm -rf /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64 | |
+ make DESTDIR=/builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64 install-strip | |
if test -z 'strip'; then \ | |
make INSTALL_PROGRAM="/bin/sh /builddir/build/BUILD/ladvd-1.1.2/install-sh -c -s" \ | |
install_sh_PROGRAM="/bin/sh /builddir/build/BUILD/ladvd-1.1.2/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ | |
install; \ | |
else \ | |
make INSTALL_PROGRAM="/bin/sh /builddir/build/BUILD/ladvd-1.1.2/install-sh -c -s" \ | |
install_sh_PROGRAM="/bin/sh /builddir/build/BUILD/ladvd-1.1.2/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ | |
"INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; \ | |
fi | |
make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2' | |
Making install in src | |
make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
make[3]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/sbin' | |
STRIPPROG='strip' /bin/sh ../libtool --mode=install /bin/sh /builddir/build/BUILD/ladvd-1.1.2/install-sh -c -s ladvd '/builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/sbin' | |
libtool: install: /bin/sh /builddir/build/BUILD/ladvd-1.1.2/install-sh -c -s ladvd /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/sbin/ladvd | |
make install-exec-hook | |
make[4]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
ln -s ladvd \ | |
/builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/sbin/ladvdc | |
make[4]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
make[3]: Nothing to be done for 'install-data-am'. | |
make[3]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
Making install in . | |
make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2' | |
make[3]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2' | |
make[3]: Nothing to be done for 'install-exec-am'. | |
make[3]: Nothing to be done for 'install-data-am'. | |
make[3]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2' | |
make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2' | |
Making install in doc | |
make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/doc' | |
make[3]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/doc' | |
make[3]: Nothing to be done for 'install-exec-am'. | |
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/share/doc/ladvd' | |
/usr/bin/install -c -m 644 LICENSE README TODO HACKING '/builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/share/doc/ladvd' | |
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/share/man/man8' | |
/usr/bin/install -c -m 644 ladvd.8 ladvdc.8 '/builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/share/man/man8' | |
make[3]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/doc' | |
make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/doc' | |
Making install in systemd | |
make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' | |
make[3]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' | |
make[3]: Nothing to be done for 'install-exec-am'. | |
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/lib/systemd/system' | |
/usr/bin/install -c -m 644 ladvd.service '/builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/lib/systemd/system' | |
make[3]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' | |
make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' | |
Making install in tests | |
make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
make[3]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
make[3]: Nothing to be done for 'install-exec-am'. | |
make[3]: Nothing to be done for 'install-data-am'. | |
make[3]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2' | |
+ rm -rf /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/share/doc/ladvd | |
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/lib/systemd/system | |
+ /usr/bin/install -m644 systemd/ladvd.service /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/lib/systemd/system/ladvd.service | |
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/lib/tmpfiles.d | |
+ /usr/bin/install -m644 systemd/ladvd.conf /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/usr/lib/tmpfiles.d/ladvd.conf | |
+ mkdir -p /builddir/build/BUILDROOT/ladvd-unstable-1.1.2-201.el9.wg.x86_64/var/run/ladvd | |
+ /usr/lib/rpm/redhat/brp-ldconfig | |
+ /usr/lib/rpm/brp-compress | |
+ /usr/lib/rpm/brp-strip /usr/bin/strip | |
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump | |
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip | |
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip | |
+ /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 | |
+ /usr/lib/rpm/brp-python-hardlink | |
+ /usr/lib/rpm/redhat/brp-mangle-shebangs | |
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tdef5I | |
+ umask 022 | |
+ cd /builddir/build/BUILD | |
+ cd ladvd-1.1.2 | |
+ make check | |
Making check in src | |
make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/src' | |
Making check in . | |
make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2' | |
make[1]: Nothing to be done for 'check-am'. | |
make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2' | |
Making check in doc | |
make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/doc' | |
make[1]: Nothing to be done for 'check'. | |
make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/doc' | |
Making check in systemd | |
make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' | |
make[1]: Nothing to be done for 'check'. | |
make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' | |
Making check in tests | |
make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
make check_compat check_proto check_util check_tlv check_parent check_child check_cli libcheckwrap.la | |
make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
CC check_compat.o | |
In file included from check_compat.c:21: | |
check_compat.c: In function 'test_setproctitle_fn': | |
check_compat.c:54:9: warning: too many arguments for format [-Wformat-extra-args] | |
54 | "asprintf failed"); | |
| ^~~~~~~~~~~~~~~~~ | |
check_compat.c:56:9: warning: too many arguments for format [-Wformat-extra-args] | |
56 | "title should be '%s' not '%s'", ptitle, argv[0]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c: In function 'test_strlcat_fn': | |
check_compat.c:69:38: warning: too many arguments for format [-Wformat-extra-args] | |
69 | fail_unless (len == strlen(src), "length should not be %zu", len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:70:36: warning: too many arguments for format [-Wformat-extra-args] | |
70 | fail_unless (strlen(dst) == 0, "length should be 0"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:72:38: warning: too many arguments for format [-Wformat-extra-args] | |
72 | fail_unless (len == strlen(src), "length should not be %zu", len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:73:36: warning: too many arguments for format [-Wformat-extra-args] | |
73 | fail_unless (strlen(dst) == 0, "length should be 0"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:75:38: warning: too many arguments for format [-Wformat-extra-args] | |
75 | fail_unless (len == strlen(src), "length should not be %zu", len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:76:36: warning: too many arguments for format [-Wformat-extra-args] | |
76 | fail_unless (strlen(dst) == 9, "length should be equal to 9"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:80:38: warning: too many arguments for format [-Wformat-extra-args] | |
80 | fail_unless (len == strlen(src), "length should be equal to src"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:82:9: warning: too many arguments for format [-Wformat-extra-args] | |
82 | "length should be equal to src"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:84:42: warning: too many arguments for format [-Wformat-extra-args] | |
84 | fail_unless (len == strlen(src) * 2, "length should be equal to src * 2"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:86:9: warning: too many arguments for format [-Wformat-extra-args] | |
86 | "length should be equal to src * 2"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:90:51: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'void *' [-Wformat=] | |
90 | fail_unless (len == BUFSIZ + strlen(src) - 8, "length should not be %zu"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:90:75: note: format string is defined here | |
90 | fail_unless (len == BUFSIZ + strlen(src) - 8, "length should not be %zu"); | |
| ~~^ | |
| | | |
| long unsigned int | |
| %p | |
In file included from check_compat.c:21: | |
check_compat.c:91:45: warning: too many arguments for format [-Wformat-extra-args] | |
91 | fail_unless (strlen(dst) == BUFSIZ - 1, "length should be BUFSIZ - 1"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:96:9: warning: too many arguments for format [-Wformat-extra-args] | |
96 | "length should not be %zu", len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:97:45: warning: too many arguments for format [-Wformat-extra-args] | |
97 | fail_unless (strlen(dst) == BUFSIZ - 1, "length should be BUFSIZ - 1"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c: In function 'test_strlcpy_fn': | |
check_compat.c:110:38: warning: too many arguments for format [-Wformat-extra-args] | |
110 | fail_unless (len == strlen(src), "length should not be %zu", len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:111:36: warning: too many arguments for format [-Wformat-extra-args] | |
111 | fail_unless (strlen(dst) == 0, "length should be 0"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:113:38: warning: too many arguments for format [-Wformat-extra-args] | |
113 | fail_unless (len == strlen(src), "length should not be %zu", len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:114:36: warning: too many arguments for format [-Wformat-extra-args] | |
114 | fail_unless (strlen(dst) == 0, "length should be 0"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:116:38: warning: too many arguments for format [-Wformat-extra-args] | |
116 | fail_unless (len == strlen(src), "length should not be %zu", len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:117:36: warning: too many arguments for format [-Wformat-extra-args] | |
117 | fail_unless (strlen(dst) == 9, "length should be equal to 9"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:121:38: warning: too many arguments for format [-Wformat-extra-args] | |
121 | fail_unless (len == strlen(src), "length should be equal to src"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:122:46: warning: too many arguments for format [-Wformat-extra-args] | |
122 | fail_unless (strlen(dst) == strlen(src), "length should be equal to src"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:126:38: warning: too many arguments for format [-Wformat-extra-args] | |
126 | fail_unless (len == strlen(src), "length should be equal to src"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:127:46: warning: too many arguments for format [-Wformat-extra-args] | |
127 | fail_unless (strlen(dst) == strlen(src), "length should be equal to src"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c: In function 'test_strnvis_fn': | |
check_compat.c:139:37: warning: too many arguments for format [-Wformat-extra-args] | |
139 | fail_unless (strlen(dst) == 40, "length should be equal to 40"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:143:37: warning: too many arguments for format [-Wformat-extra-args] | |
143 | fail_unless (strlen(dst) == 40, "length should be equal to 40"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_compat.c:147:37: warning: too many arguments for format [-Wformat-extra-args] | |
147 | fail_unless (strlen(dst) == 39, "length should be equal to 39"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
CC check_wrap.lo | |
In file included from check_wrap.c:21: | |
check_wrap.c: In function 'read_packet': | |
check_wrap.c:157:13: warning: too many arguments for format [-Wformat-extra-args] | |
157 | "asprintf failed"); | |
| ^~~~~~~~~~~~~~~~~ | |
check_wrap.c:161:9: warning: too many arguments for format [-Wformat-extra-args] | |
161 | "failed to open %s: %s", path, errbuf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.c:164:9: warning: too many arguments for format [-Wformat-extra-args] | |
164 | "failed to read packet"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.c:167:9: warning: too many arguments for format [-Wformat-extra-args] | |
167 | "memcpy failed"); | |
| ^~~~~~~~~~~~~~~ | |
CCLD libcheckwrap.la | |
CCLD check_compat | |
CC check_proto.o | |
In file included from check_proto.c:21: | |
check_proto.c: In function 'test_proto_packet_fn': | |
check_proto.c:116:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
116 | fail_unless(msg.len == 276, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:116:56: note: format string is defined here | |
116 | fail_unless(msg.len == 276, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:116:33: warning: too many arguments for format [-Wformat-extra-args] | |
116 | fail_unless(msg.len == 276, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:118:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
118 | fail_unless(msg.len == 203, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:118:56: note: format string is defined here | |
118 | fail_unless(msg.len == 203, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:118:33: warning: too many arguments for format [-Wformat-extra-args] | |
118 | fail_unless(msg.len == 203, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:120:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
120 | fail_unless(msg.len == 131, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:120:56: note: format string is defined here | |
120 | fail_unless(msg.len == 131, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:120:33: warning: too many arguments for format [-Wformat-extra-args] | |
120 | fail_unless(msg.len == 131, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:122:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
122 | fail_unless(msg.len == 126, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:122:56: note: format string is defined here | |
122 | fail_unless(msg.len == 126, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:122:33: warning: too many arguments for format [-Wformat-extra-args] | |
122 | fail_unless(msg.len == 126, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:124:32: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
124 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:124:55: note: format string is defined here | |
124 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:124:32: warning: too many arguments for format [-Wformat-extra-args] | |
124 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:131:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
131 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:131:56: note: format string is defined here | |
131 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:131:33: warning: too many arguments for format [-Wformat-extra-args] | |
131 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:133:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
133 | fail_unless(msg.len == 158, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:133:56: note: format string is defined here | |
133 | fail_unless(msg.len == 158, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:133:33: warning: too many arguments for format [-Wformat-extra-args] | |
133 | fail_unless(msg.len == 158, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:135:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
135 | fail_unless(msg.len == 110, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:135:56: note: format string is defined here | |
135 | fail_unless(msg.len == 110, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:135:33: warning: too many arguments for format [-Wformat-extra-args] | |
135 | fail_unless(msg.len == 110, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:137:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
137 | fail_unless(msg.len == 124, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:137:56: note: format string is defined here | |
137 | fail_unless(msg.len == 124, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:137:33: warning: too many arguments for format [-Wformat-extra-args] | |
137 | fail_unless(msg.len == 124, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:139:32: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
139 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:139:55: note: format string is defined here | |
139 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:139:32: warning: too many arguments for format [-Wformat-extra-args] | |
139 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:144:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
144 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:144:56: note: format string is defined here | |
144 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:144:33: warning: too many arguments for format [-Wformat-extra-args] | |
144 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:146:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
146 | fail_unless(msg.len == 158, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:146:56: note: format string is defined here | |
146 | fail_unless(msg.len == 158, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:146:33: warning: too many arguments for format [-Wformat-extra-args] | |
146 | fail_unless(msg.len == 158, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:148:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
148 | fail_unless(msg.len == 110, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:148:56: note: format string is defined here | |
148 | fail_unless(msg.len == 110, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:148:33: warning: too many arguments for format [-Wformat-extra-args] | |
148 | fail_unless(msg.len == 110, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:150:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
150 | fail_unless(msg.len == 126, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:150:56: note: format string is defined here | |
150 | fail_unless(msg.len == 126, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:150:33: warning: too many arguments for format [-Wformat-extra-args] | |
150 | fail_unless(msg.len == 126, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:152:32: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
152 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:152:55: note: format string is defined here | |
152 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:152:32: warning: too many arguments for format [-Wformat-extra-args] | |
152 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:157:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
157 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:157:56: note: format string is defined here | |
157 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:157:33: warning: too many arguments for format [-Wformat-extra-args] | |
157 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:159:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
159 | fail_unless(msg.len == 158, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:159:56: note: format string is defined here | |
159 | fail_unless(msg.len == 158, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:159:33: warning: too many arguments for format [-Wformat-extra-args] | |
159 | fail_unless(msg.len == 158, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:161:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
161 | fail_unless(msg.len == 110, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:161:56: note: format string is defined here | |
161 | fail_unless(msg.len == 110, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:161:33: warning: too many arguments for format [-Wformat-extra-args] | |
161 | fail_unless(msg.len == 110, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:163:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
163 | fail_unless(msg.len == 126, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:163:56: note: format string is defined here | |
163 | fail_unless(msg.len == 126, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:163:33: warning: too many arguments for format [-Wformat-extra-args] | |
163 | fail_unless(msg.len == 126, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:165:32: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
165 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:165:55: note: format string is defined here | |
165 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:165:32: warning: too many arguments for format [-Wformat-extra-args] | |
165 | fail_unless(msg.len == 64, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:173:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
173 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:173:56: note: format string is defined here | |
173 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:173:33: warning: too many arguments for format [-Wformat-extra-args] | |
173 | fail_unless(msg.len == 265, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:178:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
178 | fail_unless(msg.len == 267, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_proto.c:178:56: note: format string is defined here | |
178 | fail_unless(msg.len == 267, "length should not be %d", msg.len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_proto.c:21: | |
check_proto.c:178:33: warning: too many arguments for format [-Wformat-extra-args] | |
178 | fail_unless(msg.len == 267, "length should not be %d", msg.len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c: In function 'test_lldp_check_fn': | |
check_proto.c:190:13: warning: too many arguments for format [-Wformat-extra-args] | |
190 | "empty packets should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:196:13: warning: too many arguments for format [-Wformat-extra-args] | |
196 | "packets without an ethertype should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:202:13: warning: too many arguments for format [-Wformat-extra-args] | |
202 | "packets without an encapsulated ethertype should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:209:13: warning: too many arguments for format [-Wformat-extra-args] | |
209 | "valid encapsulated packets should return a correct ptr"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:213:13: warning: too many arguments for format [-Wformat-extra-args] | |
213 | "valid packets should return a correct ptr"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c: In function 'test_cdp_check_fn': | |
check_proto.c:227:13: warning: too many arguments for format [-Wformat-extra-args] | |
227 | "empty packets should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:233:13: warning: too many arguments for format [-Wformat-extra-args] | |
233 | "packets without an llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:240:13: warning: too many arguments for format [-Wformat-extra-args] | |
240 | "packets with an incomplete llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:246:13: warning: too many arguments for format [-Wformat-extra-args] | |
246 | "packets with an invalid llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:253:13: warning: too many arguments for format [-Wformat-extra-args] | |
253 | "valid packets should return a correct ptr"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:259:13: warning: too many arguments for format [-Wformat-extra-args] | |
259 | "packets without an encapsulated llc should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:265:13: warning: too many arguments for format [-Wformat-extra-args] | |
265 | "valid packets should return a correct ptr"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c: In function 'test_edp_check_fn': | |
check_proto.c:279:13: warning: too many arguments for format [-Wformat-extra-args] | |
279 | "empty packets should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:285:13: warning: too many arguments for format [-Wformat-extra-args] | |
285 | "packets without an llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:292:13: warning: too many arguments for format [-Wformat-extra-args] | |
292 | "packets with an incomplete llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:298:13: warning: too many arguments for format [-Wformat-extra-args] | |
298 | "packets with an invalid llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:305:13: warning: too many arguments for format [-Wformat-extra-args] | |
305 | "valid packets should return a correct ptr"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:311:13: warning: too many arguments for format [-Wformat-extra-args] | |
311 | "packets without an encapsulated llc should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:317:13: warning: too many arguments for format [-Wformat-extra-args] | |
317 | "valid packets should return a correct ptr"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c: In function 'test_fdp_check_fn': | |
check_proto.c:331:13: warning: too many arguments for format [-Wformat-extra-args] | |
331 | "empty packets should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:337:13: warning: too many arguments for format [-Wformat-extra-args] | |
337 | "packets without an llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:344:13: warning: too many arguments for format [-Wformat-extra-args] | |
344 | "packets with an incomplete llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:350:13: warning: too many arguments for format [-Wformat-extra-args] | |
350 | "packets with an invalid llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:357:13: warning: too many arguments for format [-Wformat-extra-args] | |
357 | "valid packets should return a correct ptr"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:363:13: warning: too many arguments for format [-Wformat-extra-args] | |
363 | "packets without an encapsulated llc should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:369:13: warning: too many arguments for format [-Wformat-extra-args] | |
369 | "valid packets should return a correct ptr"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c: In function 'test_ndp_check_fn': | |
check_proto.c:383:13: warning: too many arguments for format [-Wformat-extra-args] | |
383 | "empty packets should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:389:13: warning: too many arguments for format [-Wformat-extra-args] | |
389 | "packets without an llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:396:13: warning: too many arguments for format [-Wformat-extra-args] | |
396 | "packets with an incomplete llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:402:13: warning: too many arguments for format [-Wformat-extra-args] | |
402 | "packets with an invalid llc header should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:409:13: warning: too many arguments for format [-Wformat-extra-args] | |
409 | "valid packets should return a correct ptr"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:415:13: warning: too many arguments for format [-Wformat-extra-args] | |
415 | "packets without an encapsulated llc should generate a NULL"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:421:13: warning: too many arguments for format [-Wformat-extra-args] | |
421 | "valid packets should return a correct ptr"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c: In function 'test_lldp_decode_fn': | |
check_proto.c:436:42: warning: too many arguments for format [-Wformat-extra-args] | |
436 | fail_unless (lldp_decode(&msg) == 0, "empty packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:438:9: warning: too many arguments for format [-Wformat-extra-args] | |
438 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:443:42: warning: too many arguments for format [-Wformat-extra-args] | |
443 | fail_unless (lldp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:445:9: warning: too many arguments for format [-Wformat-extra-args] | |
445 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:448:42: warning: too many arguments for format [-Wformat-extra-args] | |
448 | fail_unless (lldp_decode(&msg) == 0, "incomplete packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:450:9: warning: too many arguments for format [-Wformat-extra-args] | |
450 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:453:42: warning: too many arguments for format [-Wformat-extra-args] | |
453 | fail_unless (lldp_decode(&msg) == 0, "incomplete packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:455:9: warning: too many arguments for format [-Wformat-extra-args] | |
455 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:460:42: warning: too many arguments for format [-Wformat-extra-args] | |
460 | fail_unless (lldp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:462:9: warning: too many arguments for format [-Wformat-extra-args] | |
462 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:465:42: warning: too many arguments for format [-Wformat-extra-args] | |
465 | fail_unless (lldp_decode(&msg) == 0, "incomplete packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:467:9: warning: too many arguments for format [-Wformat-extra-args] | |
467 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:470:42: warning: too many arguments for format [-Wformat-extra-args] | |
470 | fail_unless (lldp_decode(&msg) == 0, "incomplete packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:472:9: warning: too many arguments for format [-Wformat-extra-args] | |
472 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:475:42: warning: too many arguments for format [-Wformat-extra-args] | |
475 | fail_unless (lldp_decode(&msg) == 0, "incomplete packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:477:9: warning: too many arguments for format [-Wformat-extra-args] | |
477 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:480:42: warning: too many arguments for format [-Wformat-extra-args] | |
480 | fail_unless (lldp_decode(&msg) == 0, "incomplete packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:482:9: warning: too many arguments for format [-Wformat-extra-args] | |
482 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:485:42: warning: too many arguments for format [-Wformat-extra-args] | |
485 | fail_unless (lldp_decode(&msg) == 0, "incomplete packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:487:9: warning: too many arguments for format [-Wformat-extra-args] | |
487 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:490:42: warning: too many arguments for format [-Wformat-extra-args] | |
490 | fail_unless (lldp_decode(&msg) == 0, "incomplete packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:492:9: warning: too many arguments for format [-Wformat-extra-args] | |
492 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:496:42: warning: too many arguments for format [-Wformat-extra-args] | |
496 | fail_unless (lldp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:498:9: warning: too many arguments for format [-Wformat-extra-args] | |
498 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:501:42: warning: too many arguments for format [-Wformat-extra-args] | |
501 | fail_unless (lldp_decode(&msg) == 0, "incomplete packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:503:9: warning: too many arguments for format [-Wformat-extra-args] | |
503 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:506:42: warning: too many arguments for format [-Wformat-extra-args] | |
506 | fail_unless (lldp_decode(&msg) == 0, "incomplete packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:508:9: warning: too many arguments for format [-Wformat-extra-args] | |
508 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:512:42: warning: too many arguments for format [-Wformat-extra-args] | |
512 | fail_unless (lldp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:514:9: warning: too many arguments for format [-Wformat-extra-args] | |
514 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:517:42: warning: too many arguments for format [-Wformat-extra-args] | |
517 | fail_unless (lldp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:519:9: warning: too many arguments for format [-Wformat-extra-args] | |
519 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:522:42: warning: too many arguments for format [-Wformat-extra-args] | |
522 | fail_unless (lldp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:524:9: warning: too many arguments for format [-Wformat-extra-args] | |
524 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:528:42: warning: too many arguments for format [-Wformat-extra-args] | |
528 | fail_unless (lldp_decode(&msg) == 0, "unknown tlv's should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:530:9: warning: too many arguments for format [-Wformat-extra-args] | |
530 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:533:42: warning: too many arguments for format [-Wformat-extra-args] | |
533 | fail_unless (lldp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:535:9: warning: too many arguments for format [-Wformat-extra-args] | |
535 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:538:42: warning: too many arguments for format [-Wformat-extra-args] | |
538 | fail_unless (lldp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:540:9: warning: too many arguments for format [-Wformat-extra-args] | |
540 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:543:42: warning: too many arguments for format [-Wformat-extra-args] | |
543 | fail_unless (lldp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:545:9: warning: too many arguments for format [-Wformat-extra-args] | |
545 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:549:42: warning: too many arguments for format [-Wformat-extra-args] | |
549 | fail_unless (lldp_decode(&msg) == 0, "invalid packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:551:9: warning: too many arguments for format [-Wformat-extra-args] | |
551 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:554:42: warning: too many arguments for format [-Wformat-extra-args] | |
554 | fail_unless (lldp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:556:9: warning: too many arguments for format [-Wformat-extra-args] | |
556 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:559:42: warning: too many arguments for format [-Wformat-extra-args] | |
559 | fail_unless (lldp_decode(&msg) == 0, "incomplete packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:561:9: warning: too many arguments for format [-Wformat-extra-args] | |
561 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:567:48: warning: too many arguments for format [-Wformat-extra-args] | |
567 | fail_unless (lldp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:569:9: warning: too many arguments for format [-Wformat-extra-args] | |
569 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:570:34: warning: too many arguments for format [-Wformat-extra-args] | |
570 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:572:9: warning: too many arguments for format [-Wformat-extra-args] | |
572 | "system name should be 'test'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:574:9: warning: too many arguments for format [-Wformat-extra-args] | |
574 | "port id should be '1/3' not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:576:9: warning: too many arguments for format [-Wformat-extra-args] | |
576 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:580:48: warning: too many arguments for format [-Wformat-extra-args] | |
580 | fail_unless (lldp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:582:9: warning: too many arguments for format [-Wformat-extra-args] | |
582 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:583:34: warning: too many arguments for format [-Wformat-extra-args] | |
583 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:585:17: warning: too many arguments for format [-Wformat-extra-args] | |
585 | "system name should be 'Summit300-48'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:587:9: warning: too many arguments for format [-Wformat-extra-args] | |
587 | "port id should be '1/1' not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:590:9: warning: too many arguments for format [-Wformat-extra-args] | |
590 | "port descr should be 'Summit300-48-Port 1001' not '%s'", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:593:9: warning: too many arguments for format [-Wformat-extra-args] | |
593 | "vlan id should be '488' not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:597:48: warning: too many arguments for format [-Wformat-extra-args] | |
597 | fail_unless (lldp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:599:9: warning: too many arguments for format [-Wformat-extra-args] | |
599 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:600:34: warning: too many arguments for format [-Wformat-extra-args] | |
600 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:602:17: warning: too many arguments for format [-Wformat-extra-args] | |
602 | "system name should be 'ProCurve Switch 2600-8-PWR'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:604:9: warning: too many arguments for format [-Wformat-extra-args] | |
604 | "port id should be '1' not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:606:9: warning: too many arguments for format [-Wformat-extra-args] | |
606 | "port descr should be '1' not '%s'", msg.peer[PEER_PORTDESCR]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:608:9: warning: too many arguments for format [-Wformat-extra-args] | |
608 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:612:48: warning: too many arguments for format [-Wformat-extra-args] | |
612 | fail_unless (lldp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:614:9: warning: too many arguments for format [-Wformat-extra-args] | |
614 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:615:34: warning: too many arguments for format [-Wformat-extra-args] | |
615 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:617:17: warning: too many arguments for format [-Wformat-extra-args] | |
617 | "system name should be 'HP ProCurve Switch 2626'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:619:9: warning: too many arguments for format [-Wformat-extra-args] | |
619 | "port id should be '25' not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:621:9: warning: too many arguments for format [-Wformat-extra-args] | |
621 | "port descr should be '25' not '%s'", msg.peer[PEER_PORTDESCR]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:623:9: warning: too many arguments for format [-Wformat-extra-args] | |
623 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:627:48: warning: too many arguments for format [-Wformat-extra-args] | |
627 | fail_unless (lldp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:629:9: warning: too many arguments for format [-Wformat-extra-args] | |
629 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:630:34: warning: too many arguments for format [-Wformat-extra-args] | |
630 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:632:17: warning: too many arguments for format [-Wformat-extra-args] | |
632 | "system name should be 'trillian.blinkenlights.nl'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:634:9: warning: too many arguments for format [-Wformat-extra-args] | |
634 | "port id should be 'Gi0/1' not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:637:9: warning: too many arguments for format [-Wformat-extra-args] | |
637 | "port descr should be 'GigabitEthernet0/1' not '%s'", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:642:43: warning: too many arguments for format [-Wformat-extra-args] | |
642 | fail_unless (lldp_decode(&msg) == 35, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:644:9: warning: too many arguments for format [-Wformat-extra-args] | |
644 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:645:34: warning: too many arguments for format [-Wformat-extra-args] | |
645 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:647:9: warning: too many arguments for format [-Wformat-extra-args] | |
647 | "port id should be '23' not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:649:9: warning: too many arguments for format [-Wformat-extra-args] | |
649 | "port descr should be NULL not '%s'", msg.peer[PEER_PORTDESCR]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:651:9: warning: too many arguments for format [-Wformat-extra-args] | |
651 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:655:44: warning: too many arguments for format [-Wformat-extra-args] | |
655 | fail_unless (lldp_decode(&msg) == 268, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:657:9: warning: too many arguments for format [-Wformat-extra-args] | |
657 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:658:34: warning: too many arguments for format [-Wformat-extra-args] | |
658 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:660:17: warning: too many arguments for format [-Wformat-extra-args] | |
660 | "system name should be 'XdasdXZ'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:662:9: warning: too many arguments for format [-Wformat-extra-args] | |
662 | "port id should be 'Eth110/1/13' not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:665:9: warning: too many arguments for format [-Wformat-extra-args] | |
665 | "port descr should be 'Ethernet110/1/13' not '%s'", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:668:9: warning: too many arguments for format [-Wformat-extra-args] | |
668 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:672:44: warning: too many arguments for format [-Wformat-extra-args] | |
672 | fail_unless (lldp_decode(&msg) == 359, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:674:9: warning: too many arguments for format [-Wformat-extra-args] | |
674 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:675:34: warning: too many arguments for format [-Wformat-extra-args] | |
675 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:677:17: warning: too many arguments for format [-Wformat-extra-args] | |
677 | "system name should be 'sw2.blat'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:679:9: warning: too many arguments for format [-Wformat-extra-args] | |
679 | "port id should be NULL not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:682:9: warning: too many arguments for format [-Wformat-extra-args] | |
682 | "port descr should not be '%s'", msg.peer[PEER_PORTDESCR]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:684:9: warning: too many arguments for format [-Wformat-extra-args] | |
684 | "vlan id should be '1' not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:688:44: warning: too many arguments for format [-Wformat-extra-args] | |
688 | fail_unless (lldp_decode(&msg) == 118, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:690:9: warning: too many arguments for format [-Wformat-extra-args] | |
690 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:691:34: warning: too many arguments for format [-Wformat-extra-args] | |
691 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:693:17: warning: too many arguments for format [-Wformat-extra-args] | |
693 | "system name should be '(none).(none)'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:695:9: warning: too many arguments for format [-Wformat-extra-args] | |
695 | "port id should not be '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:697:9: warning: too many arguments for format [-Wformat-extra-args] | |
697 | "port descr should not be '%s'", msg.peer[PEER_PORTDESCR]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:699:9: warning: too many arguments for format [-Wformat-extra-args] | |
699 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:703:44: warning: too many arguments for format [-Wformat-extra-args] | |
703 | fail_unless (lldp_decode(&msg) == 118, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:705:9: warning: too many arguments for format [-Wformat-extra-args] | |
705 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:706:34: warning: too many arguments for format [-Wformat-extra-args] | |
706 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:708:17: warning: too many arguments for format [-Wformat-extra-args] | |
708 | "system name should be '(none).(none)'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:710:9: warning: too many arguments for format [-Wformat-extra-args] | |
710 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:714:44: warning: too many arguments for format [-Wformat-extra-args] | |
714 | fail_unless (lldp_decode(&msg) == 117, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:716:9: warning: too many arguments for format [-Wformat-extra-args] | |
716 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:717:34: warning: too many arguments for format [-Wformat-extra-args] | |
717 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:719:17: warning: too many arguments for format [-Wformat-extra-args] | |
719 | "system name should be '(none).(none)'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:721:9: warning: too many arguments for format [-Wformat-extra-args] | |
721 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:725:48: warning: too many arguments for format [-Wformat-extra-args] | |
725 | fail_unless (lldp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:727:9: warning: too many arguments for format [-Wformat-extra-args] | |
727 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:728:34: warning: too many arguments for format [-Wformat-extra-args] | |
728 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:730:17: warning: too many arguments for format [-Wformat-extra-args] | |
730 | "system name should be '(none).(none)'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:732:9: warning: too many arguments for format [-Wformat-extra-args] | |
732 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:738:42: warning: too many arguments for format [-Wformat-extra-args] | |
738 | fail_unless (lldp_decode(&msg) == 0, "invalid packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:740:9: warning: too many arguments for format [-Wformat-extra-args] | |
740 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:745:42: warning: too many arguments for format [-Wformat-extra-args] | |
745 | fail_unless (lldp_decode(&msg) == 0, "invalid packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:747:9: warning: too many arguments for format [-Wformat-extra-args] | |
747 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:752:42: warning: too many arguments for format [-Wformat-extra-args] | |
752 | fail_unless (lldp_decode(&msg) == 0, "invalid packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:754:9: warning: too many arguments for format [-Wformat-extra-args] | |
754 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:759:42: warning: too many arguments for format [-Wformat-extra-args] | |
759 | fail_unless (lldp_decode(&msg) == 0, "invalid packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:761:9: warning: too many arguments for format [-Wformat-extra-args] | |
761 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:766:42: warning: too many arguments for format [-Wformat-extra-args] | |
766 | fail_unless (lldp_decode(&msg) != 0, "we should allow trailing bytes"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:768:9: warning: too many arguments for format [-Wformat-extra-args] | |
768 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:773:42: warning: too many arguments for format [-Wformat-extra-args] | |
773 | fail_unless (lldp_decode(&msg) == 0, "invalid packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:775:9: warning: too many arguments for format [-Wformat-extra-args] | |
775 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:780:42: warning: too many arguments for format [-Wformat-extra-args] | |
780 | fail_unless (lldp_decode(&msg) == 0, "invalid packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:782:9: warning: too many arguments for format [-Wformat-extra-args] | |
782 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:787:42: warning: too many arguments for format [-Wformat-extra-args] | |
787 | fail_unless (lldp_decode(&msg) == 0, "invalid packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:789:9: warning: too many arguments for format [-Wformat-extra-args] | |
789 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:794:42: warning: too many arguments for format [-Wformat-extra-args] | |
794 | fail_unless (lldp_decode(&msg) == 0, "invalid packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:796:9: warning: too many arguments for format [-Wformat-extra-args] | |
796 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:801:42: warning: too many arguments for format [-Wformat-extra-args] | |
801 | fail_unless (lldp_decode(&msg) == 0, "invalid packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:803:9: warning: too many arguments for format [-Wformat-extra-args] | |
803 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:816:48: warning: too many arguments for format [-Wformat-extra-args] | |
816 | fail_unless (lldp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:818:55: warning: too many arguments for format [-Wformat-extra-args] | |
818 | fail_if(read(spair[1], sobuf, sizeof(sobuf)) < 0, "read failed"); | |
| ^~~~~~~~~~~~~ | |
check_proto.c:820:9: warning: too many arguments for format [-Wformat-extra-args] | |
820 | "invalid output: %s", sobuf); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:822:9: warning: too many arguments for format [-Wformat-extra-args] | |
822 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:831:48: warning: too many arguments for format [-Wformat-extra-args] | |
831 | fail_unless (lldp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:833:55: warning: too many arguments for format [-Wformat-extra-args] | |
833 | fail_if(read(spair[1], sobuf, sizeof(sobuf)) < 0, "read failed"); | |
| ^~~~~~~~~~~~~ | |
check_proto.c:835:9: warning: too many arguments for format [-Wformat-extra-args] | |
835 | "invalid output: %s", sobuf); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:837:9: warning: too many arguments for format [-Wformat-extra-args] | |
837 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c: In function 'test_cdp_decode_fn': | |
check_proto.c:856:41: warning: too many arguments for format [-Wformat-extra-args] | |
856 | fail_unless (cdp_decode(&msg) == 0, "empty packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:858:9: warning: too many arguments for format [-Wformat-extra-args] | |
858 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:862:41: warning: too many arguments for format [-Wformat-extra-args] | |
862 | fail_unless (cdp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:864:9: warning: too many arguments for format [-Wformat-extra-args] | |
864 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:868:41: warning: too many arguments for format [-Wformat-extra-args] | |
868 | fail_unless (cdp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:870:9: warning: too many arguments for format [-Wformat-extra-args] | |
870 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:872:47: warning: too many arguments for format [-Wformat-extra-args] | |
872 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:876:41: warning: too many arguments for format [-Wformat-extra-args] | |
876 | fail_unless (cdp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:878:9: warning: too many arguments for format [-Wformat-extra-args] | |
878 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:881:47: warning: too many arguments for format [-Wformat-extra-args] | |
881 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:884:41: warning: too many arguments for format [-Wformat-extra-args] | |
884 | fail_unless (cdp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:886:9: warning: too many arguments for format [-Wformat-extra-args] | |
886 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:889:41: warning: too many arguments for format [-Wformat-extra-args] | |
889 | fail_unless (cdp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:891:9: warning: too many arguments for format [-Wformat-extra-args] | |
891 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:898:9: warning: too many arguments for format [-Wformat-extra-args] | |
898 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:899:47: warning: too many arguments for format [-Wformat-extra-args] | |
899 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:900:43: warning: too many arguments for format [-Wformat-extra-args] | |
900 | fail_unless (msg.proto == PROTO_CDP1, "CDP version should be 1"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:901:34: warning: too many arguments for format [-Wformat-extra-args] | |
901 | fail_unless (msg.ttl == 180, "ttl should be 180"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:903:9: warning: too many arguments for format [-Wformat-extra-args] | |
903 | "system name should be 'R1'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:905:9: warning: too many arguments for format [-Wformat-extra-args] | |
905 | "port id should be empty, not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:907:9: warning: too many arguments for format [-Wformat-extra-args] | |
907 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:912:9: warning: too many arguments for format [-Wformat-extra-args] | |
912 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:913:47: warning: too many arguments for format [-Wformat-extra-args] | |
913 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:914:43: warning: too many arguments for format [-Wformat-extra-args] | |
914 | fail_unless (msg.proto == PROTO_CDP1, "CDP version should be 1"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:915:34: warning: too many arguments for format [-Wformat-extra-args] | |
915 | fail_unless (msg.ttl == 180, "ttl should be 180"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:917:17: warning: too many arguments for format [-Wformat-extra-args] | |
917 | "system name should be 'R2D2'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:919:9: warning: too many arguments for format [-Wformat-extra-args] | |
919 | "port id should be 'Ethernet0' not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:921:9: warning: too many arguments for format [-Wformat-extra-args] | |
921 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:926:9: warning: too many arguments for format [-Wformat-extra-args] | |
926 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:927:47: warning: too many arguments for format [-Wformat-extra-args] | |
927 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:928:42: warning: too many arguments for format [-Wformat-extra-args] | |
928 | fail_unless (msg.proto == PROTO_CDP, "CDP version should be 2"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:929:34: warning: too many arguments for format [-Wformat-extra-args] | |
929 | fail_unless (msg.ttl == 180, "ttl should be 180"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:931:17: warning: too many arguments for format [-Wformat-extra-args] | |
931 | "system name should be 'xpfs1.yapkjn.network.bla.nl'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:933:9: warning: too many arguments for format [-Wformat-extra-args] | |
933 | "port id should be 'FastEthernet6/20' not '%s'", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:936:9: warning: too many arguments for format [-Wformat-extra-args] | |
936 | "vlan id should be '389' not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:941:9: warning: too many arguments for format [-Wformat-extra-args] | |
941 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:942:47: warning: too many arguments for format [-Wformat-extra-args] | |
942 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:943:42: warning: too many arguments for format [-Wformat-extra-args] | |
943 | fail_unless (msg.proto == PROTO_CDP, "CDP version should be 2"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:944:34: warning: too many arguments for format [-Wformat-extra-args] | |
944 | fail_unless (msg.ttl == 180, "ttl should be 180"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:946:17: warning: too many arguments for format [-Wformat-extra-args] | |
946 | "system name should be '0060B9C14027'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:948:9: warning: too many arguments for format [-Wformat-extra-args] | |
948 | "port id should be empty, not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:950:9: warning: too many arguments for format [-Wformat-extra-args] | |
950 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:955:9: warning: too many arguments for format [-Wformat-extra-args] | |
955 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:956:47: warning: too many arguments for format [-Wformat-extra-args] | |
956 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:957:42: warning: too many arguments for format [-Wformat-extra-args] | |
957 | fail_unless (msg.proto == PROTO_CDP, "CDP version should be 2"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:958:34: warning: too many arguments for format [-Wformat-extra-args] | |
958 | fail_unless (msg.ttl == 180, "ttl should be 180"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:960:17: warning: too many arguments for format [-Wformat-extra-args] | |
960 | "system name should be 'mpls-sbp-ams1.leazewep.nat'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:962:9: warning: too many arguments for format [-Wformat-extra-args] | |
962 | "port id should be 'FastEthernet4/11' not '%s'", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:965:9: warning: too many arguments for format [-Wformat-extra-args] | |
965 | "vlan id should be '971' not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:970:9: warning: too many arguments for format [-Wformat-extra-args] | |
970 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:971:47: warning: too many arguments for format [-Wformat-extra-args] | |
971 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:972:42: warning: too many arguments for format [-Wformat-extra-args] | |
972 | fail_unless (msg.proto == PROTO_CDP, "CDP version should be 2"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:973:34: warning: too many arguments for format [-Wformat-extra-args] | |
973 | fail_unless (msg.ttl == 180, "ttl should be 180"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:975:17: warning: too many arguments for format [-Wformat-extra-args] | |
975 | "system name should be 'c2811.ttttrnal.lottlloou.nl'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:977:9: warning: too many arguments for format [-Wformat-extra-args] | |
977 | "port id should be 'FastEthernet0/0' not '%s'", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:980:9: warning: too many arguments for format [-Wformat-extra-args] | |
980 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:985:9: warning: too many arguments for format [-Wformat-extra-args] | |
985 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:986:47: warning: too many arguments for format [-Wformat-extra-args] | |
986 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:987:42: warning: too many arguments for format [-Wformat-extra-args] | |
987 | fail_unless (msg.proto == PROTO_CDP, "CDP version should be 2"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:988:34: warning: too many arguments for format [-Wformat-extra-args] | |
988 | fail_unless (msg.ttl == 180, "ttl should be 180"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:990:17: warning: too many arguments for format [-Wformat-extra-args] | |
990 | "system name should be 'sw1.bit-2b.notwork.bot.nl'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:992:9: warning: too many arguments for format [-Wformat-extra-args] | |
992 | "port id should be 'GigabitEthernet0/2' not '%s'", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:995:9: warning: too many arguments for format [-Wformat-extra-args] | |
995 | "vlan id should be '30' not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1000:9: warning: too many arguments for format [-Wformat-extra-args] | |
1000 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1001:47: warning: too many arguments for format [-Wformat-extra-args] | |
1001 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1002:42: warning: too many arguments for format [-Wformat-extra-args] | |
1002 | fail_unless (msg.proto == PROTO_CDP, "CDP version should be 2"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1003:34: warning: too many arguments for format [-Wformat-extra-args] | |
1003 | fail_unless (msg.ttl == 180, "ttl should be 180"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1005:17: warning: too many arguments for format [-Wformat-extra-args] | |
1005 | "system name should be 'trillian.blinkenlights.nl'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1007:9: warning: too many arguments for format [-Wformat-extra-args] | |
1007 | "port id should be 'GigabitEthernet0/1' not '%s'", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1010:9: warning: too many arguments for format [-Wformat-extra-args] | |
1010 | "vlan id should be '2' not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1015:9: warning: too many arguments for format [-Wformat-extra-args] | |
1015 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1016:47: warning: too many arguments for format [-Wformat-extra-args] | |
1016 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1017:42: warning: too many arguments for format [-Wformat-extra-args] | |
1017 | fail_unless (msg.proto == PROTO_CDP, "CDP version should be 2"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1018:34: warning: too many arguments for format [-Wformat-extra-args] | |
1018 | fail_unless (msg.ttl == 180, "ttl should be 180"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1020:17: warning: too many arguments for format [-Wformat-extra-args] | |
1020 | "system name should be 'SEP001B53489EE0'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1022:9: warning: too many arguments for format [-Wformat-extra-args] | |
1022 | "port id should be 'Port 1' not '%s'", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1025:9: warning: too many arguments for format [-Wformat-extra-args] | |
1025 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1030:9: warning: too many arguments for format [-Wformat-extra-args] | |
1030 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1031:47: warning: too many arguments for format [-Wformat-extra-args] | |
1031 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1032:43: warning: too many arguments for format [-Wformat-extra-args] | |
1032 | fail_unless (msg.proto == PROTO_CDP1, "CDP version should be 1"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1033:34: warning: too many arguments for format [-Wformat-extra-args] | |
1033 | fail_unless (msg.ttl == 120, "ttl should be 120"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1035:17: warning: too many arguments for format [-Wformat-extra-args] | |
1035 | "system name should be 'MikroTik'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1037:9: warning: too many arguments for format [-Wformat-extra-args] | |
1037 | "port id should be 'ether2' not '%s'", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1040:9: warning: too many arguments for format [-Wformat-extra-args] | |
1040 | "vlan id should be empty, not '%s'", msg.peer[PEER_VLAN_ID]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1053:47: warning: too many arguments for format [-Wformat-extra-args] | |
1053 | fail_unless (cdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1055:55: warning: too many arguments for format [-Wformat-extra-args] | |
1055 | fail_if(read(spair[1], sobuf, sizeof(sobuf)) < 0, "read failed"); | |
| ^~~~~~~~~~~~~ | |
check_proto.c:1056:62: warning: too many arguments for format [-Wformat-extra-args] | |
1056 | fail_unless(strncmp(sobuf, errstr, strlen(errstr)) == 0, "invalid output: %s", sobuf); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1058:9: warning: too many arguments for format [-Wformat-extra-args] | |
1058 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c: In function 'test_edp_decode_fn': | |
check_proto.c:1076:41: warning: too many arguments for format [-Wformat-extra-args] | |
1076 | fail_unless (edp_decode(&msg) == 0, "empty packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1078:9: warning: too many arguments for format [-Wformat-extra-args] | |
1078 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1082:41: warning: too many arguments for format [-Wformat-extra-args] | |
1082 | fail_unless (edp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1084:9: warning: too many arguments for format [-Wformat-extra-args] | |
1084 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1087:41: warning: too many arguments for format [-Wformat-extra-args] | |
1087 | fail_unless (edp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1089:9: warning: too many arguments for format [-Wformat-extra-args] | |
1089 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1093:47: warning: too many arguments for format [-Wformat-extra-args] | |
1093 | fail_unless (edp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1095:9: warning: too many arguments for format [-Wformat-extra-args] | |
1095 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1099:41: warning: too many arguments for format [-Wformat-extra-args] | |
1099 | fail_unless (edp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1101:9: warning: too many arguments for format [-Wformat-extra-args] | |
1101 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1106:47: warning: too many arguments for format [-Wformat-extra-args] | |
1106 | fail_unless (edp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1108:9: warning: too many arguments for format [-Wformat-extra-args] | |
1108 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1111:41: warning: too many arguments for format [-Wformat-extra-args] | |
1111 | fail_unless (edp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1113:9: warning: too many arguments for format [-Wformat-extra-args] | |
1113 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1116:41: warning: too many arguments for format [-Wformat-extra-args] | |
1116 | fail_unless (edp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1118:9: warning: too many arguments for format [-Wformat-extra-args] | |
1118 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1123:47: warning: too many arguments for format [-Wformat-extra-args] | |
1123 | fail_unless (edp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1125:9: warning: too many arguments for format [-Wformat-extra-args] | |
1125 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1126:34: warning: too many arguments for format [-Wformat-extra-args] | |
1126 | fail_unless (msg.ttl == 180, "ttl should be 180"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1128:17: warning: too many arguments for format [-Wformat-extra-args] | |
1128 | "system name should be 'HD000002'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1130:9: warning: too many arguments for format [-Wformat-extra-args] | |
1130 | "port id should be empty, not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1132:47: warning: too many arguments for format [-Wformat-extra-args] | |
1132 | fail_unless (edp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1134:9: warning: too many arguments for format [-Wformat-extra-args] | |
1134 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1135:34: warning: too many arguments for format [-Wformat-extra-args] | |
1135 | fail_unless (msg.ttl == 180, "ttl should be 180"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1137:9: warning: too many arguments for format [-Wformat-extra-args] | |
1137 | "system name should be 'SW1'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1139:9: warning: too many arguments for format [-Wformat-extra-args] | |
1139 | "port id should be empty, not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c: In function 'test_fdp_decode_fn': | |
check_proto.c:1154:41: warning: too many arguments for format [-Wformat-extra-args] | |
1154 | fail_unless (fdp_decode(&msg) == 0, "empty packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1156:9: warning: too many arguments for format [-Wformat-extra-args] | |
1156 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1160:41: warning: too many arguments for format [-Wformat-extra-args] | |
1160 | fail_unless (fdp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1162:9: warning: too many arguments for format [-Wformat-extra-args] | |
1162 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1165:41: warning: too many arguments for format [-Wformat-extra-args] | |
1165 | fail_unless (fdp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1167:9: warning: too many arguments for format [-Wformat-extra-args] | |
1167 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1171:47: warning: too many arguments for format [-Wformat-extra-args] | |
1171 | fail_unless (fdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1173:9: warning: too many arguments for format [-Wformat-extra-args] | |
1173 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1177:41: warning: too many arguments for format [-Wformat-extra-args] | |
1177 | fail_unless (fdp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1179:9: warning: too many arguments for format [-Wformat-extra-args] | |
1179 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1184:47: warning: too many arguments for format [-Wformat-extra-args] | |
1184 | fail_unless (fdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1186:9: warning: too many arguments for format [-Wformat-extra-args] | |
1186 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1189:41: warning: too many arguments for format [-Wformat-extra-args] | |
1189 | fail_unless (fdp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1191:9: warning: too many arguments for format [-Wformat-extra-args] | |
1191 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1194:41: warning: too many arguments for format [-Wformat-extra-args] | |
1194 | fail_unless (fdp_decode(&msg) == 0, "broken packets should return 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1196:9: warning: too many arguments for format [-Wformat-extra-args] | |
1196 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1202:47: warning: too many arguments for format [-Wformat-extra-args] | |
1202 | fail_unless (fdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1204:9: warning: too many arguments for format [-Wformat-extra-args] | |
1204 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1205:33: warning: too many arguments for format [-Wformat-extra-args] | |
1205 | fail_unless (msg.ttl == 10, "ttl should be 10"); | |
| ^~~~~~~~~~~~~~~~~~ | |
check_proto.c:1207:17: warning: too many arguments for format [-Wformat-extra-args] | |
1207 | "system name should be 'doetnix'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1209:9: warning: too many arguments for format [-Wformat-extra-args] | |
1209 | "port id should be 'ethernet3/1' not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1213:47: warning: too many arguments for format [-Wformat-extra-args] | |
1213 | fail_unless (fdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1215:9: warning: too many arguments for format [-Wformat-extra-args] | |
1215 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1216:33: warning: too many arguments for format [-Wformat-extra-args] | |
1216 | fail_unless (msg.ttl == 10, "ttl should be 10"); | |
| ^~~~~~~~~~~~~~~~~~ | |
check_proto.c:1218:17: warning: too many arguments for format [-Wformat-extra-args] | |
1218 | "system name should be 'erix'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1220:9: warning: too many arguments for format [-Wformat-extra-args] | |
1220 | "port id should be 'ethernet1/1' not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1224:47: warning: too many arguments for format [-Wformat-extra-args] | |
1224 | fail_unless (fdp_decode(&msg) == msg.len, "packet length incorrect"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1226:9: warning: too many arguments for format [-Wformat-extra-args] | |
1226 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1227:33: warning: too many arguments for format [-Wformat-extra-args] | |
1227 | fail_unless (msg.ttl == 10, "ttl should be 10"); | |
| ^~~~~~~~~~~~~~~~~~ | |
check_proto.c:1229:17: warning: too many arguments for format [-Wformat-extra-args] | |
1229 | "system name should be 'emmerix'"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_proto.c:1231:9: warning: too many arguments for format [-Wformat-extra-args] | |
1231 | "port id should be 'ethernet1/1' not '%s'", msg.peer[PEER_PORTNAME]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
CCLD check_proto | |
CC check_util.o | |
In file included from check_util.c:21: | |
check_util.c: In function 'test_my_fn': | |
check_util.c:47:9: warning: too many arguments for format [-Wformat-extra-args] | |
47 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:53:58: warning: too many arguments for format [-Wformat-extra-args] | |
53 | fail_unless (strcmp(check_wrap_errstr, errstr) == 0, "message not logged"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
check_util.c:75:43: warning: too many arguments for format [-Wformat-extra-args] | |
75 | fail_unless(strcmp(buf, errstr) == 0, "invalid output: %s", buf); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
check_util.c:78:38: warning: too many arguments for format [-Wformat-extra-args] | |
78 | fail_if(dup(s) != STDERR_FILENO, "dup should re-create stderr"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:87:9: warning: too many arguments for format [-Wformat-extra-args] | |
87 | "error not logged"); | |
| ^~~~~~~~~~~~~~~~~~ | |
check_util.c:91:31: warning: too many arguments for format [-Wformat-extra-args] | |
91 | fail_unless (ptr != NULL, "a valid pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:97:31: warning: too many arguments for format [-Wformat-extra-args] | |
97 | fail_unless (ptr != NULL, "a valid pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:107:9: warning: too many arguments for format [-Wformat-extra-args] | |
107 | "error not logged"); | |
| ^~~~~~~~~~~~~~~~~~ | |
check_util.c:111:31: warning: too many arguments for format [-Wformat-extra-args] | |
111 | fail_unless (ptr != NULL, "a valid pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:121:9: warning: too many arguments for format [-Wformat-extra-args] | |
121 | "error not logged"); | |
| ^~~~~~~~~~~~~~~~~~ | |
check_util.c:130:27: warning: too many arguments for format [-Wformat-extra-args] | |
130 | fail_unless (s != -1, "a valid socket should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:139:9: warning: too many arguments for format [-Wformat-extra-args] | |
139 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c: In function 'test_my_mreq_fn': | |
check_util.c:160:9: warning: too many arguments for format [-Wformat-extra-args] | |
160 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:167:5: note: in expansion of macro 'WRAP_WRITE' | |
167 | WRAP_WRITE(spair[0], &mreq, PARENT_REQ_LEN(mreq.len)); | |
| ^~~~~~~~~~ | |
check_util.c:170:9: warning: too many arguments for format [-Wformat-extra-args] | |
170 | "incorrect size %lu returned from my_mreq", ret); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:174:5: note: in expansion of macro 'WRAP_WRITE' | |
174 | WRAP_WRITE(spair[0], &mreq, ETHER_MIN_LEN); | |
| ^~~~~~~~~~ | |
check_util.c:179:9: warning: too many arguments for format [-Wformat-extra-args] | |
179 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c: In function 'test_netif_fn': | |
check_util.c:261:9: warning: too many arguments for format [-Wformat-extra-args] | |
261 | "NULL should be returned on invalid netifs"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:265:40: warning: too many arguments for format [-Wformat-extra-args] | |
265 | fail_unless (netif == &tnetifs[0], "the first netif should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:267:40: warning: too many arguments for format [-Wformat-extra-args] | |
267 | fail_unless (netif == &tnetifs[5], "the sixth netif should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:269:33: warning: too many arguments for format [-Wformat-extra-args] | |
269 | fail_unless (netif == NULL, "NULL should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:274:40: warning: too many arguments for format [-Wformat-extra-args] | |
274 | fail_unless (netif == &tnetifs[1], "the second netif should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:276:40: warning: too many arguments for format [-Wformat-extra-args] | |
276 | fail_unless (netif == &tnetifs[5], "the sixth netif should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:278:33: warning: too many arguments for format [-Wformat-extra-args] | |
278 | fail_unless (netif == NULL, "NULL should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:286:33: warning: too many arguments for format [-Wformat-extra-args] | |
286 | fail_unless (subif == NULL, "NULL should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:288:40: warning: too many arguments for format [-Wformat-extra-args] | |
288 | fail_unless (subif == &tnetifs[1], "the second netif should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:290:40: warning: too many arguments for format [-Wformat-extra-args] | |
290 | fail_unless (subif == &tnetifs[2], "the third netif should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:292:33: warning: too many arguments for format [-Wformat-extra-args] | |
292 | fail_unless (subif == NULL, "NULL should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:297:33: warning: too many arguments for format [-Wformat-extra-args] | |
297 | fail_unless (subif == NULL, "NULL should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:302:33: warning: too many arguments for format [-Wformat-extra-args] | |
302 | fail_unless (subif == NULL, "NULL should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:307:40: warning: too many arguments for format [-Wformat-extra-args] | |
307 | fail_unless (subif == &tnetifs[5], "the sixth netif should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:309:33: warning: too many arguments for format [-Wformat-extra-args] | |
309 | fail_unless (subif == NULL, "NULL should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:315:9: warning: too many arguments for format [-Wformat-extra-args] | |
315 | "incorrect netif struct returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:317:9: warning: too many arguments for format [-Wformat-extra-args] | |
317 | "incorrect netif struct returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:319:9: warning: too many arguments for format [-Wformat-extra-args] | |
319 | "incorrect netif struct returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:321:9: warning: too many arguments for format [-Wformat-extra-args] | |
321 | "incorrect netif struct returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:323:9: warning: too many arguments for format [-Wformat-extra-args] | |
323 | "NULL should be returned on not found netif"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:329:9: warning: too many arguments for format [-Wformat-extra-args] | |
329 | "incorrect netif struct returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:331:9: warning: too many arguments for format [-Wformat-extra-args] | |
331 | "incorrect netif struct returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:333:9: warning: too many arguments for format [-Wformat-extra-args] | |
333 | "incorrect netif struct returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:335:9: warning: too many arguments for format [-Wformat-extra-args] | |
335 | "incorrect netif struct returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:337:9: warning: too many arguments for format [-Wformat-extra-args] | |
337 | "NULL should be returned on not found netif"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:397:9: warning: too many arguments for format [-Wformat-extra-args] | |
397 | "incorrect protos calculation"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:402:9: warning: too many arguments for format [-Wformat-extra-args] | |
402 | "incorrect protos calculation"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:406:38: warning: too many arguments for format [-Wformat-extra-args] | |
406 | fail_unless (netif->protos == 0, "incorrect protos calculation"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:416:5: note: in expansion of macro 'WRAP_WRITE' | |
416 | WRAP_WRITE(spair[0], mreq, PARENT_REQ_LEN(mreq->len)); | |
| ^~~~~~~~~~ | |
check_wrap.h:67:35: warning: too many arguments for format [-Wformat-extra-args] | |
67 | fail_if(len < PARENT_REQ_MIN, "message read failed"); \ | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:418:5: note: in expansion of macro 'WRAP_REQ_READ' | |
418 | WRAP_REQ_READ(spair[0], mreq, len); | |
| ^~~~~~~~~~~~~ | |
check_wrap.h:68:47: warning: too many arguments for format [-Wformat-extra-args] | |
68 | fail_if(len != PARENT_REQ_LEN(mreq->len), "message read failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:418:5: note: in expansion of macro 'WRAP_REQ_READ' | |
418 | WRAP_REQ_READ(spair[0], mreq, len); | |
| ^~~~~~~~~~~~~ | |
check_util.c:420:9: warning: too many arguments for format [-Wformat-extra-args] | |
420 | "incorrect command: %d", mreq->op); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:422:9: warning: too many arguments for format [-Wformat-extra-args] | |
422 | "incorrect interface index: %d", mreq->index); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:424:9: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
424 | "incorrect message length: %d", mreq->len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_util.c:424:37: note: format string is defined here | |
424 | "incorrect message length: %d", mreq->len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_util.c:21: | |
check_util.c:424:9: warning: too many arguments for format [-Wformat-extra-args] | |
424 | "incorrect message length: %d", mreq->len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:426:9: warning: too many arguments for format [-Wformat-extra-args] | |
426 | "incorrect interface description: %s", mreq->buf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:430:5: note: in expansion of macro 'WRAP_WRITE' | |
430 | WRAP_WRITE(spair[0], mreq, PARENT_REQ_LEN(mreq->len)); | |
| ^~~~~~~~~~ | |
check_wrap.h:67:35: warning: too many arguments for format [-Wformat-extra-args] | |
67 | fail_if(len < PARENT_REQ_MIN, "message read failed"); \ | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:432:5: note: in expansion of macro 'WRAP_REQ_READ' | |
432 | WRAP_REQ_READ(spair[0], mreq, len); | |
| ^~~~~~~~~~~~~ | |
check_wrap.h:68:47: warning: too many arguments for format [-Wformat-extra-args] | |
68 | fail_if(len != PARENT_REQ_LEN(mreq->len), "message read failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:432:5: note: in expansion of macro 'WRAP_REQ_READ' | |
432 | WRAP_REQ_READ(spair[0], mreq, len); | |
| ^~~~~~~~~~~~~ | |
check_util.c:434:9: warning: too many arguments for format [-Wformat-extra-args] | |
434 | "incorrect command: %d", mreq->op); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:436:9: warning: too many arguments for format [-Wformat-extra-args] | |
436 | "incorrect interface index: %d", mreq->index); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:438:9: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
438 | "incorrect message length: %d", mreq->len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_util.c:438:37: note: format string is defined here | |
438 | "incorrect message length: %d", mreq->len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_util.c:21: | |
check_util.c:438:9: warning: too many arguments for format [-Wformat-extra-args] | |
438 | "incorrect message length: %d", mreq->len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:440:9: warning: too many arguments for format [-Wformat-extra-args] | |
440 | "incorrect interface description: %s", mreq->buf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:444:5: note: in expansion of macro 'WRAP_WRITE' | |
444 | WRAP_WRITE(spair[0], mreq, PARENT_REQ_LEN(mreq->len)); | |
| ^~~~~~~~~~ | |
check_wrap.h:67:35: warning: too many arguments for format [-Wformat-extra-args] | |
67 | fail_if(len < PARENT_REQ_MIN, "message read failed"); \ | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:446:5: note: in expansion of macro 'WRAP_REQ_READ' | |
446 | WRAP_REQ_READ(spair[0], mreq, len); | |
| ^~~~~~~~~~~~~ | |
check_wrap.h:68:47: warning: too many arguments for format [-Wformat-extra-args] | |
68 | fail_if(len != PARENT_REQ_LEN(mreq->len), "message read failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:446:5: note: in expansion of macro 'WRAP_REQ_READ' | |
446 | WRAP_REQ_READ(spair[0], mreq, len); | |
| ^~~~~~~~~~~~~ | |
check_util.c:448:9: warning: too many arguments for format [-Wformat-extra-args] | |
448 | "incorrect command: %d", mreq->op); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:450:9: warning: too many arguments for format [-Wformat-extra-args] | |
450 | "incorrect interface index: %d", mreq->index); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:452:9: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
452 | "incorrect message length: %d", mreq->len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_util.c:452:37: note: format string is defined here | |
452 | "incorrect message length: %d", mreq->len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_util.c:21: | |
check_util.c:452:9: warning: too many arguments for format [-Wformat-extra-args] | |
452 | "incorrect message length: %d", mreq->len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:454:9: warning: too many arguments for format [-Wformat-extra-args] | |
454 | "incorrect interface description: %s", mreq->buf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:458:5: note: in expansion of macro 'WRAP_WRITE' | |
458 | WRAP_WRITE(spair[0], mreq, PARENT_REQ_LEN(mreq->len)); | |
| ^~~~~~~~~~ | |
check_wrap.h:67:35: warning: too many arguments for format [-Wformat-extra-args] | |
67 | fail_if(len < PARENT_REQ_MIN, "message read failed"); \ | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:460:5: note: in expansion of macro 'WRAP_REQ_READ' | |
460 | WRAP_REQ_READ(spair[0], mreq, len); | |
| ^~~~~~~~~~~~~ | |
check_wrap.h:68:47: warning: too many arguments for format [-Wformat-extra-args] | |
68 | fail_if(len != PARENT_REQ_LEN(mreq->len), "message read failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:460:5: note: in expansion of macro 'WRAP_REQ_READ' | |
460 | WRAP_REQ_READ(spair[0], mreq, len); | |
| ^~~~~~~~~~~~~ | |
check_util.c:462:9: warning: too many arguments for format [-Wformat-extra-args] | |
462 | "incorrect command: %d", mreq->op); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:464:9: warning: too many arguments for format [-Wformat-extra-args] | |
464 | "incorrect interface index: %d", mreq->index); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:466:9: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
466 | "incorrect message length: %d", mreq->len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_util.c:466:37: note: format string is defined here | |
466 | "incorrect message length: %d", mreq->len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_util.c:21: | |
check_util.c:466:9: warning: too many arguments for format [-Wformat-extra-args] | |
466 | "incorrect message length: %d", mreq->len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:468:9: warning: too many arguments for format [-Wformat-extra-args] | |
468 | "incorrect interface description: %s", mreq->buf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:472:5: note: in expansion of macro 'WRAP_WRITE' | |
472 | WRAP_WRITE(spair[0], mreq, PARENT_REQ_LEN(mreq->len)); | |
| ^~~~~~~~~~ | |
check_wrap.h:67:35: warning: too many arguments for format [-Wformat-extra-args] | |
67 | fail_if(len < PARENT_REQ_MIN, "message read failed"); \ | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:474:5: note: in expansion of macro 'WRAP_REQ_READ' | |
474 | WRAP_REQ_READ(spair[0], mreq, len); | |
| ^~~~~~~~~~~~~ | |
check_wrap.h:68:47: warning: too many arguments for format [-Wformat-extra-args] | |
68 | fail_if(len != PARENT_REQ_LEN(mreq->len), "message read failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:474:5: note: in expansion of macro 'WRAP_REQ_READ' | |
474 | WRAP_REQ_READ(spair[0], mreq, len); | |
| ^~~~~~~~~~~~~ | |
check_util.c:476:9: warning: too many arguments for format [-Wformat-extra-args] | |
476 | "incorrect command: %d", mreq->op); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:478:9: warning: too many arguments for format [-Wformat-extra-args] | |
478 | "incorrect interface index: %d", mreq->index); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:480:9: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] | |
480 | "incorrect message length: %d", mreq->len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | |
| | | |
| ssize_t {aka long int} | |
check_util.c:480:37: note: format string is defined here | |
480 | "incorrect message length: %d", mreq->len); | |
| ~^ | |
| | | |
| int | |
| %ld | |
In file included from check_util.c:21: | |
check_util.c:480:9: warning: too many arguments for format [-Wformat-extra-args] | |
480 | "incorrect message length: %d", mreq->len); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:482:9: warning: too many arguments for format [-Wformat-extra-args] | |
482 | "incorrect interface description: %s", mreq->buf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c: In function 'test_read_line_fn': | |
check_util.c:509:59: warning: too many arguments for format [-Wformat-extra-args] | |
509 | fail_if(asprintf(&path, "%s/%s", prefix, file) == -1, "asprintf failed"); | |
| ^~~~~~~~~~~~~~~~~ | |
check_util.c:512:9: warning: too many arguments for format [-Wformat-extra-args] | |
512 | "0 should be returned on a missing file"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:515:9: warning: too many arguments for format [-Wformat-extra-args] | |
515 | "0 should be returned on a unreadable file"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:518:9: warning: too many arguments for format [-Wformat-extra-args] | |
518 | "0 should be returned on zero len request"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:521:9: warning: too many arguments for format [-Wformat-extra-args] | |
521 | "0 bytes should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:524:9: warning: too many arguments for format [-Wformat-extra-args] | |
524 | "1 bytes should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:527:9: warning: too many arguments for format [-Wformat-extra-args] | |
527 | "9 bytes should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:530:9: warning: too many arguments for format [-Wformat-extra-args] | |
530 | "16 bytes should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:533:9: warning: too many arguments for format [-Wformat-extra-args] | |
533 | "invalid line returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:536:9: warning: too many arguments for format [-Wformat-extra-args] | |
536 | "16 bytes should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:539:9: warning: too many arguments for format [-Wformat-extra-args] | |
539 | "invalid line returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c: In function 'test_my_cksum_fn': | |
check_util.c:553:9: warning: too many arguments for format [-Wformat-extra-args] | |
553 | "IP checksum result should be 12585 not %d", sum); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:558:9: warning: too many arguments for format [-Wformat-extra-args] | |
558 | "(Cisco) IP checksum result should be 12585 not %d", sum); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:563:9: warning: too many arguments for format [-Wformat-extra-args] | |
563 | "IP checksum result should be 12655 not %d", sum); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:568:9: warning: too many arguments for format [-Wformat-extra-args] | |
568 | "(Cisco) IP checksum result should be 30250 not %d", sum); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c: In function 'test_my_priv_fn': | |
check_util.c:594:9: warning: too many arguments for format [-Wformat-extra-args] | |
594 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:609:9: warning: too many arguments for format [-Wformat-extra-args] | |
609 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:624:9: warning: too many arguments for format [-Wformat-extra-args] | |
624 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:637:9: warning: too many arguments for format [-Wformat-extra-args] | |
637 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:646:9: warning: too many arguments for format [-Wformat-extra-args] | |
646 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:655:9: warning: too many arguments for format [-Wformat-extra-args] | |
655 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:663:9: warning: too many arguments for format [-Wformat-extra-args] | |
663 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:671:9: warning: too many arguments for format [-Wformat-extra-args] | |
671 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:689:9: warning: too many arguments for format [-Wformat-extra-args] | |
689 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:700:9: warning: too many arguments for format [-Wformat-extra-args] | |
700 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:711:9: warning: too many arguments for format [-Wformat-extra-args] | |
711 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:724:9: warning: too many arguments for format [-Wformat-extra-args] | |
724 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c: In function 'test_portname_abbr_fn': | |
check_util.c:734:9: warning: too many arguments for format [-Wformat-extra-args] | |
734 | "unexpected portname: %s", portname); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:740:9: warning: too many arguments for format [-Wformat-extra-args] | |
740 | "unexpected portname: %s", portname); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:746:9: warning: too many arguments for format [-Wformat-extra-args] | |
746 | "unexpected portname: %s", portname); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:752:9: warning: too many arguments for format [-Wformat-extra-args] | |
752 | "unexpected portname: %s", portname); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:758:9: warning: too many arguments for format [-Wformat-extra-args] | |
758 | "unexpected portname: %s", portname); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c: In function 'test_pcap_fn': | |
check_util.c:781:9: warning: too many arguments for format [-Wformat-extra-args] | |
781 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:787:17: warning: too many arguments for format [-Wformat-extra-args] | |
787 | "failed to read pcap header"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:789:17: warning: too many arguments for format [-Wformat-extra-args] | |
789 | "invalid pcap header returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:791:17: warning: too many arguments for format [-Wformat-extra-args] | |
791 | "invalid pcap header returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:793:17: warning: too many arguments for format [-Wformat-extra-args] | |
793 | "invalid pcap header returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:801:9: warning: too many arguments for format [-Wformat-extra-args] | |
801 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:804:17: warning: too many arguments for format [-Wformat-extra-args] | |
804 | "failed to read pcap record"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:810:9: warning: too many arguments for format [-Wformat-extra-args] | |
810 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_util.c:813:17: warning: too many arguments for format [-Wformat-extra-args] | |
813 | "failed to read pcap record"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
CCLD check_util | |
CC check_tlv.o | |
In file included from check_tlv.c:21: | |
check_tlv.c: In function 'test_value_str_fn': | |
check_tlv.c:44:42: warning: too many arguments for format [-Wformat-extra-args] | |
44 | fail_unless (msg.peer[type] == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:47:42: warning: too many arguments for format [-Wformat-extra-args] | |
47 | fail_unless (msg.peer[type] == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:50:42: warning: too many arguments for format [-Wformat-extra-args] | |
50 | fail_unless (msg.peer[type] != NULL, "a valid pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:56:42: warning: too many arguments for format [-Wformat-extra-args] | |
56 | fail_unless (msg.peer[type] == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:59:42: warning: too many arguments for format [-Wformat-extra-args] | |
59 | fail_unless (msg.peer[type] == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:62:42: warning: too many arguments for format [-Wformat-extra-args] | |
62 | fail_unless (msg.peer[type] != NULL, "a valid pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:68:42: warning: too many arguments for format [-Wformat-extra-args] | |
68 | fail_unless (msg.peer[type] == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:71:42: warning: too many arguments for format [-Wformat-extra-args] | |
71 | fail_unless (msg.peer[type] == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:74:42: warning: too many arguments for format [-Wformat-extra-args] | |
74 | fail_unless (msg.peer[type] != NULL, "a valid pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:84:9: warning: too many arguments for format [-Wformat-extra-args] | |
84 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c: In function 'test_str_addr_fn': | |
check_tlv.c:97:31: warning: too many arguments for format [-Wformat-extra-args] | |
97 | fail_unless (str == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:100:31: warning: too many arguments for format [-Wformat-extra-args] | |
100 | fail_unless (str == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:103:31: warning: too many arguments for format [-Wformat-extra-args] | |
103 | fail_unless (str != NULL, "a string pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:110:31: warning: too many arguments for format [-Wformat-extra-args] | |
110 | fail_unless (str == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:113:31: warning: too many arguments for format [-Wformat-extra-args] | |
113 | fail_unless (str == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:116:31: warning: too many arguments for format [-Wformat-extra-args] | |
116 | fail_unless (str != NULL, "a string pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:123:31: warning: too many arguments for format [-Wformat-extra-args] | |
123 | fail_unless (str == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:126:31: warning: too many arguments for format [-Wformat-extra-args] | |
126 | fail_unless (str == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:129:31: warning: too many arguments for format [-Wformat-extra-args] | |
129 | fail_unless (str != NULL, "a string pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_tlv.c:134:31: warning: too many arguments for format [-Wformat-extra-args] | |
134 | fail_unless (str == NULL, "a NULL pointer should be returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
CCLD check_tlv | |
CC check_parent.o | |
In file included from check_parent.c:21: | |
check_parent.c: In function 'test_parent_init_fn': | |
check_parent.c:70:9: warning: too many arguments for format [-Wformat-extra-args] | |
70 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c: In function 'test_parent_signal_fn': | |
check_parent.c:94:9: warning: too many arguments for format [-Wformat-extra-args] | |
94 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:104:9: warning: too many arguments for format [-Wformat-extra-args] | |
104 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:113:9: warning: too many arguments for format [-Wformat-extra-args] | |
113 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:122:9: warning: too many arguments for format [-Wformat-extra-args] | |
122 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:131:9: warning: too many arguments for format [-Wformat-extra-args] | |
131 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c: In function 'test_parent_req_fn': | |
check_parent.c:158:9: warning: too many arguments for format [-Wformat-extra-args] | |
158 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:163:5: note: in expansion of macro 'WRAP_WRITE' | |
163 | WRAP_WRITE(spair[0], &mreq, 1); | |
| ^~~~~~~~~~ | |
check_parent.c:168:9: warning: too many arguments for format [-Wformat-extra-args] | |
168 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:177:5: note: in expansion of macro 'WRAP_WRITE' | |
177 | WRAP_WRITE(spair[0], &mreq, PARENT_REQ_LEN(mreq.len)); | |
| ^~~~~~~~~~ | |
check_parent.c:182:9: warning: too many arguments for format [-Wformat-extra-args] | |
182 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:194:5: note: in expansion of macro 'WRAP_WRITE' | |
194 | WRAP_WRITE(spair[0], &mreq, PARENT_REQ_LEN(mreq.len)); | |
| ^~~~~~~~~~ | |
check_parent.c:202:9: warning: too many arguments for format [-Wformat-extra-args] | |
202 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:207:9: warning: too many arguments for format [-Wformat-extra-args] | |
207 | "the queue should be empty"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:212:9: warning: too many arguments for format [-Wformat-extra-args] | |
212 | "rfd should be added to the queue"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:219:5: note: in expansion of macro 'WRAP_WRITE' | |
219 | WRAP_WRITE(spair[0], &mreq, PARENT_REQ_LEN(mreq.len)); | |
| ^~~~~~~~~~ | |
check_parent.c:222:9: warning: too many arguments for format [-Wformat-extra-args] | |
222 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:224:9: warning: too many arguments for format [-Wformat-extra-args] | |
224 | "rfd should be removed from the queue"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:232:5: note: in expansion of macro 'WRAP_WRITE' | |
232 | WRAP_WRITE(spair[0], &mreq, PARENT_REQ_LEN(mreq.len)); | |
| ^~~~~~~~~~ | |
check_parent.c:238:9: warning: too many arguments for format [-Wformat-extra-args] | |
238 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:246:5: note: in expansion of macro 'WRAP_WRITE' | |
246 | WRAP_WRITE(spair[0], &mreq, PARENT_REQ_LEN(mreq.len)); | |
| ^~~~~~~~~~ | |
check_parent.c:252:9: warning: too many arguments for format [-Wformat-extra-args] | |
252 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:257:5: note: in expansion of macro 'WRAP_WRITE' | |
257 | WRAP_WRITE(spair[0], &mreq, PARENT_REQ_LEN(mreq.len)); | |
| ^~~~~~~~~~ | |
check_parent.c:260:9: warning: too many arguments for format [-Wformat-extra-args] | |
260 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:267:31: warning: too many arguments for format [-Wformat-extra-args] | |
267 | fail_unless (rfd != NULL, "rfd should be added to the queue"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:271:5: note: in expansion of macro 'WRAP_WRITE' | |
271 | WRAP_WRITE(spair[0], &mreq, PARENT_REQ_LEN(mreq.len)); | |
| ^~~~~~~~~~ | |
check_parent.c:279:9: warning: too many arguments for format [-Wformat-extra-args] | |
279 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:280:35: warning: too many arguments for format [-Wformat-extra-args] | |
280 | fail_unless (close(fd) == -1, "rfd->fd should be closed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:282:9: warning: too many arguments for format [-Wformat-extra-args] | |
282 | "rfd should be removed from the queue"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c: In function 'test_parent_check_fn': | |
check_parent.c:294:9: warning: too many arguments for format [-Wformat-extra-args] | |
294 | "PARENT_OPEN check failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:299:9: warning: too many arguments for format [-Wformat-extra-args] | |
299 | "PARENT_CLOSE check failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:307:9: warning: too many arguments for format [-Wformat-extra-args] | |
307 | "PARENT_ETHTOOL_GSET check failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:314:9: warning: too many arguments for format [-Wformat-extra-args] | |
314 | "PARENT_ETHTOOL_GDRV check failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c: In function 'test_parent_send_fn': | |
check_parent.c:354:31: warning: too many arguments for format [-Wformat-extra-args] | |
354 | fail_unless (rfd != NULL, "rfd should be added to the queue"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:360:5: note: in expansion of macro 'WRAP_WRITE' | |
360 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len) - 1); | |
| ^~~~~~~~~~ | |
check_parent.c:365:9: warning: too many arguments for format [-Wformat-extra-args] | |
365 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:371:5: note: in expansion of macro 'WRAP_WRITE' | |
371 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_parent.c:376:9: warning: too many arguments for format [-Wformat-extra-args] | |
376 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:388:5: note: in expansion of macro 'WRAP_WRITE' | |
388 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_parent.c:391:9: warning: too many arguments for format [-Wformat-extra-args] | |
391 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c: In function 'test_parent_open_close_fn': | |
check_parent.c:411:9: warning: too many arguments for format [-Wformat-extra-args] | |
411 | "rfd should be added to the queue"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:414:9: warning: too many arguments for format [-Wformat-extra-args] | |
414 | "rfd should be removed from the queue"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:420:9: warning: too many arguments for format [-Wformat-extra-args] | |
420 | "rfd should be added to the queue"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:425:9: warning: too many arguments for format [-Wformat-extra-args] | |
425 | "rfd should be added to the queue"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:429:9: warning: too many arguments for format [-Wformat-extra-args] | |
429 | "the queue should be empty"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c: In function 'test_parent_socket_fn': | |
check_parent.c:443:31: warning: too many arguments for format [-Wformat-extra-args] | |
443 | fail_unless (rfd != NULL, "rfd should be added to the queue"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:456:9: warning: too many arguments for format [-Wformat-extra-args] | |
456 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:460:9: warning: too many arguments for format [-Wformat-extra-args] | |
460 | "rfd not found"); | |
| ^~~~~~~~~~~~~~~ | |
check_parent.c:463:9: warning: too many arguments for format [-Wformat-extra-args] | |
463 | "the queue should be empty"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c: In function 'test_parent_multi_fn': | |
check_parent.c:486:9: warning: too many arguments for format [-Wformat-extra-args] | |
486 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:495:9: warning: too many arguments for format [-Wformat-extra-args] | |
495 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:504:9: warning: too many arguments for format [-Wformat-extra-args] | |
504 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c: In function 'test_parent_recv_fn': | |
check_parent.c:530:31: warning: too many arguments for format [-Wformat-extra-args] | |
530 | fail_unless (rfd != NULL, "rfd should be added to the queue"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:538:13: warning: too many arguments for format [-Wformat-extra-args] | |
538 | "asprintf failed"); | |
| ^~~~~~~~~~~~~~~~~ | |
check_parent.c:540:9: warning: too many arguments for format [-Wformat-extra-args] | |
540 | "failed to open %s: %s", path, errbuf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:548:9: warning: too many arguments for format [-Wformat-extra-args] | |
548 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:557:13: warning: too many arguments for format [-Wformat-extra-args] | |
557 | "asprintf failed"); | |
| ^~~~~~~~~~~~~~~~~ | |
check_parent.c:559:9: warning: too many arguments for format [-Wformat-extra-args] | |
559 | "failed to open %s: %s", path, errbuf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:567:9: warning: too many arguments for format [-Wformat-extra-args] | |
567 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:576:13: warning: too many arguments for format [-Wformat-extra-args] | |
576 | "asprintf failed"); | |
| ^~~~~~~~~~~~~~~~~ | |
check_parent.c:578:9: warning: too many arguments for format [-Wformat-extra-args] | |
578 | "failed to open %s: %s", path, errbuf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:588:9: warning: too many arguments for format [-Wformat-extra-args] | |
588 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:597:9: warning: too many arguments for format [-Wformat-extra-args] | |
597 | "failed to open %s: %s", path, errbuf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
check_parent.c:605:9: warning: too many arguments for format [-Wformat-extra-args] | |
605 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
CCLD check_parent | |
CC check_child.o | |
In file included from check_child.c:21: | |
check_child.c: In function 'test_child_init_fn': | |
check_child.c:82:9: warning: too many arguments for format [-Wformat-extra-args] | |
82 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c: In function 'test_child_queue_fn': | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:170:5: note: in expansion of macro 'WRAP_WRITE' | |
170 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_child.c:173:9: warning: too many arguments for format [-Wformat-extra-args] | |
173 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:182:5: note: in expansion of macro 'WRAP_WRITE' | |
182 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_child.c:185:9: warning: too many arguments for format [-Wformat-extra-args] | |
185 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:194:5: note: in expansion of macro 'WRAP_WRITE' | |
194 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_child.c:197:9: warning: too many arguments for format [-Wformat-extra-args] | |
197 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:202:5: note: in expansion of macro 'WRAP_WRITE' | |
202 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:208:5: note: in expansion of macro 'WRAP_WRITE' | |
208 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:214:5: note: in expansion of macro 'WRAP_WRITE' | |
214 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:221:5: note: in expansion of macro 'WRAP_WRITE' | |
221 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:229:5: note: in expansion of macro 'WRAP_WRITE' | |
229 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_child.c: In function 'test_child_expire_fn': | |
check_child.c:261:39: warning: too many arguments for format [-Wformat-extra-args] | |
261 | fail_unless(TAILQ_EMPTY(&mqueue), "the queue should be empty"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:266:5: note: in expansion of macro 'WRAP_WRITE' | |
266 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_child.c:275:29: warning: too many arguments for format [-Wformat-extra-args] | |
275 | fail_unless(count == 1, "invalid message count: %d != 1", count); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:281:5: note: in expansion of macro 'WRAP_WRITE' | |
281 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:290:5: note: in expansion of macro 'WRAP_WRITE' | |
290 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_child.c:295:9: warning: too many arguments for format [-Wformat-extra-args] | |
295 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:303:29: warning: too many arguments for format [-Wformat-extra-args] | |
303 | fail_unless(count == 3, "invalid message count: %d != 3", count); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:318:29: warning: too many arguments for format [-Wformat-extra-args] | |
318 | fail_unless(count == 3, "invalid message count: %d != 3", count); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:331:29: warning: too many arguments for format [-Wformat-extra-args] | |
331 | fail_unless(count == 2, "invalid message count: %d != 2", count); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:345:39: warning: too many arguments for format [-Wformat-extra-args] | |
345 | fail_unless(TAILQ_EMPTY(&mqueue), "the queue should be empty"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c: In function 'test_child_cli_fn': | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:385:5: note: in expansion of macro 'WRAP_WRITE' | |
385 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:389:5: note: in expansion of macro 'WRAP_WRITE' | |
389 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
check_child.c:400:9: warning: too many arguments for format [-Wformat-extra-args] | |
400 | "socket bind failed"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
check_child.c:402:9: warning: too many arguments for format [-Wformat-extra-args] | |
402 | "socket getsockname failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:404:9: warning: too many arguments for format [-Wformat-extra-args] | |
404 | "socket listen failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:430:9: warning: too many arguments for format [-Wformat-extra-args] | |
430 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_wrap.h:64:49: warning: too many arguments for format [-Wformat-extra-args] | |
64 | fail_unless(write(sock, msg, size) == size, "message write failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_child.c:450:9: note: in expansion of macro 'WRAP_WRITE' | |
450 | WRAP_WRITE(spair[0], &msg, PARENT_MSG_LEN(msg.len)); | |
| ^~~~~~~~~~ | |
CCLD check_child | |
CC check_cli.o | |
In file included from check_cli.c:21: | |
check_cli.c: In function 'test_cli_main_fn': | |
check_cli.c:71:13: warning: too many arguments for format [-Wformat-extra-args] | |
71 | "socketpair creation failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:79:13: warning: too many arguments for format [-Wformat-extra-args] | |
79 | "socketpair creation failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:86:13: warning: too many arguments for format [-Wformat-extra-args] | |
86 | "socketpair creation failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:100:13: warning: too many arguments for format [-Wformat-extra-args] | |
100 | "cli_main read failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:102:13: warning: too many arguments for format [-Wformat-extra-args] | |
102 | "invalid usage output: %s", buf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:114:13: warning: too many arguments for format [-Wformat-extra-args] | |
114 | "cli_main read failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:116:13: warning: too many arguments for format [-Wformat-extra-args] | |
116 | "invalid usage output: %s", buf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:127:26: warning: too many arguments for format [-Wformat-extra-args] | |
127 | fail_unless(ifindex, "missing loopback interface"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:140:13: warning: too many arguments for format [-Wformat-extra-args] | |
140 | "cli_main read failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:142:9: warning: too many arguments for format [-Wformat-extra-args] | |
142 | "incorrect message logged: %s", buf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:164:13: warning: too many arguments for format [-Wformat-extra-args] | |
164 | "cli_main read failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:166:9: warning: too many arguments for format [-Wformat-extra-args] | |
166 | "incorrect message logged: %s", buf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:184:13: warning: too many arguments for format [-Wformat-extra-args] | |
184 | "write failed"); | |
| ^~~~~~~~~~~~~~ | |
check_cli.c:191:13: warning: too many arguments for format [-Wformat-extra-args] | |
191 | "write failed"); | |
| ^~~~~~~~~~~~~~ | |
check_cli.c:198:13: warning: too many arguments for format [-Wformat-extra-args] | |
198 | "write failed"); | |
| ^~~~~~~~~~~~~~ | |
check_cli.c:205:13: warning: too many arguments for format [-Wformat-extra-args] | |
205 | "write failed"); | |
| ^~~~~~~~~~~~~~ | |
check_cli.c:212:13: warning: too many arguments for format [-Wformat-extra-args] | |
212 | "write failed"); | |
| ^~~~~~~~~~~~~~ | |
check_cli.c:219:13: warning: too many arguments for format [-Wformat-extra-args] | |
219 | "write failed"); | |
| ^~~~~~~~~~~~~~ | |
check_cli.c:227:13: warning: too many arguments for format [-Wformat-extra-args] | |
227 | "write failed"); | |
| ^~~~~~~~~~~~~~ | |
check_cli.c:234:13: warning: too many arguments for format [-Wformat-extra-args] | |
234 | "write failed"); | |
| ^~~~~~~~~~~~~~ | |
check_cli.c:250:9: warning: too many arguments for format [-Wformat-extra-args] | |
250 | "cli_main read failed"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:252:9: warning: too many arguments for format [-Wformat-extra-args] | |
252 | "incorrect message logged: %s", buf); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c: In function 'test_batch_write_fn': | |
check_cli.c:291:28: warning: too many arguments for format [-Wformat-extra-args] | |
291 | fail_if(ostdout == -1, "dup failed: %s", strerror(errno)); | |
| ^~~~~~~~~~~~~~~~ | |
check_cli.c:293:13: warning: too many arguments for format [-Wformat-extra-args] | |
293 | "socketpair creation failed: %s", strerror(errno)); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:302:9: warning: too many arguments for format [-Wformat-extra-args] | |
302 | "read failed"); | |
| ^~~~~~~~~~~~~ | |
check_cli.c:304:13: warning: too many arguments for format [-Wformat-extra-args] | |
304 | "invalid batch_write output"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:306:13: warning: too many arguments for format [-Wformat-extra-args] | |
306 | "invalid batch_write output"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:317:9: warning: too many arguments for format [-Wformat-extra-args] | |
317 | "read failed"); | |
| ^~~~~~~~~~~~~ | |
check_cli.c:319:13: warning: too many arguments for format [-Wformat-extra-args] | |
319 | "invalid batch_write output"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:321:13: warning: too many arguments for format [-Wformat-extra-args] | |
321 | "invalid batch_write output"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c: In function 'test_cli_fn': | |
check_cli.c:339:28: warning: too many arguments for format [-Wformat-extra-args] | |
339 | fail_if(ostdout == -1, "dup failed: %s", strerror(errno)); | |
| ^~~~~~~~~~~~~~~~ | |
check_cli.c:341:13: warning: too many arguments for format [-Wformat-extra-args] | |
341 | "socketpair creation failed: %s", strerror(errno)); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:350:9: warning: too many arguments for format [-Wformat-extra-args] | |
350 | "read failed"); | |
| ^~~~~~~~~~~~~ | |
check_cli.c:352:13: warning: too many arguments for format [-Wformat-extra-args] | |
352 | "invalid cli_header output"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:354:13: warning: too many arguments for format [-Wformat-extra-args] | |
354 | "invalid cli_header output"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:364:9: warning: too many arguments for format [-Wformat-extra-args] | |
364 | "read failed"); | |
| ^~~~~~~~~~~~~ | |
check_cli.c:366:13: warning: too many arguments for format [-Wformat-extra-args] | |
366 | "invalid cli_write output"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:368:13: warning: too many arguments for format [-Wformat-extra-args] | |
368 | "invalid cli_write output"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c: In function 'test_debug_fn': | |
check_cli.c:394:13: warning: too many arguments for format [-Wformat-extra-args] | |
394 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:408:9: warning: too many arguments for format [-Wformat-extra-args] | |
408 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:411:17: warning: too many arguments for format [-Wformat-extra-args] | |
411 | "failed to read pcap header"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:413:17: warning: too many arguments for format [-Wformat-extra-args] | |
413 | "invalid pcap header returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:415:17: warning: too many arguments for format [-Wformat-extra-args] | |
415 | "invalid pcap header returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:417:17: warning: too many arguments for format [-Wformat-extra-args] | |
417 | "invalid pcap header returned"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:424:9: warning: too many arguments for format [-Wformat-extra-args] | |
424 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:427:17: warning: too many arguments for format [-Wformat-extra-args] | |
427 | "failed to read pcap record"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c: In function 'test_http_fn': | |
check_cli.c:469:36: warning: too many arguments for format [-Wformat-extra-args] | |
469 | fail_unless (http_port < 8090, "failed to start httpd on %s", http_host); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:493:9: warning: too many arguments for format [-Wformat-extra-args] | |
493 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:499:9: warning: too many arguments for format [-Wformat-extra-args] | |
499 | "incorrect exit status returned: %d", status); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:507:9: warning: too many arguments for format [-Wformat-extra-args] | |
507 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:509:9: warning: too many arguments for format [-Wformat-extra-args] | |
509 | "incorrect exit status returned: %d", status); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:524:9: warning: too many arguments for format [-Wformat-extra-args] | |
524 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
check_cli.c:536:9: warning: too many arguments for format [-Wformat-extra-args] | |
536 | "incorrect message logged: %s", check_wrap_errstr); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
CCLD check_cli | |
make[2]: 'libcheckwrap.la' is up to date. | |
make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
make check-TESTS | |
make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
make[3]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
PASS: check_compat | |
PASS: check_proto | |
FAIL: check_util | |
PASS: check_tlv | |
PASS: check_parent | |
FAIL: check_child | |
PASS: check_cli | |
============================================================================ | |
Testsuite summary for ladvd 1.1.2 | |
============================================================================ | |
# TOTAL: 7 | |
# PASS: 5 | |
# SKIP: 0 | |
# XFAIL: 0 | |
# FAIL: 2 | |
# XPASS: 0 | |
# ERROR: 0 | |
============================================================================ | |
See tests/test-suite.log | |
Please report to sten@blinkenlights.nl | |
============================================================================ | |
make[3]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
make[3]: *** [Makefile:859: test-suite.log] Error 1 | |
make[2]: *** [Makefile:967: check-TESTS] Error 2 | |
make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/tests' | |
make[1]: *** [Makefile:1083: check-am] Error 2 | |
make: *** [Makefile:420: check-recursive] Error 1 | |
error: Bad exit status from /var/tmp/rpm-tmp.tdef5I (%check) | |
Bad exit status from /var/tmp/rpm-tmp.tdef5I (%check) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment