diff options
author | Alvar Penning <post@0x21.biz> | 2025-09-15 23:54:34 +0200 |
---|---|---|
committer | Alvar Penning <post@0x21.biz> | 2025-09-16 00:19:04 +0200 |
commit | 88036425d5a24a742ebd85787fc9c98bafd6c12f (patch) | |
tree | 9fa1e9769d78c667bb740b7d25d73418bdf38d50 /plugins/t/check_procs.t | |
parent | 601a48a63e745817cf2a4c7f3ca526e393dd3fb8 (diff) | |
download | monitoring-plugins-88036425d5a24a742ebd85787fc9c98bafd6c12f.tar.gz |
check_swap: Fix Build At Least For OpenBSD
Fix build of check_swap for both CHECK_SWAP_SWAPCTL_SVR4 and
CHECK_SWAP_SWAPCTL_BSD build guards.
> $ make check_swap
> CC check_swap.d/swap.o
> check_swap.d/swap.c:58:32: error: too few arguments to function call, single argument 'config' was not specified
> 58 | return getSwapFromSwapctl_BSD();
> | ~~~~~~~~~~~~~~~~~~~~~~ ^
> ././check_swap.d/check_swap.h:48:13: note: 'getSwapFromSwapctl_BSD' declared here
> 48 | swap_result getSwapFromSwapctl_BSD(swap_config config);
> | ^ ~~~~~~~~~~~~~~~~~~
> 1 error generated.
> *** Error 1 in [...]/monitoring-plugins/plugins (Makefile:2869 'check_swap.d/swap.o': @echo " CC ...)
Diffstat (limited to 'plugins/t/check_procs.t')
0 files changed, 0 insertions, 0 deletions