mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-03 18:49:29 -05:00
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 ...) |
||
|---|---|---|
| .. | ||
| check_swap.h | ||
| swap.c | ||