mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-10 17:20:05 -04:00
Merge pull request #2153 from oxzi/check_swap-fix-bsd-svr4
check_swap: Fix Build At Least For OpenBSD
This commit is contained in:
commit
c1f0f113c9
1 changed files with 2 additions and 2 deletions
|
|
@ -52,10 +52,10 @@ swap_result get_swap_data(swap_config config) {
|
|||
}
|
||||
# else // HAVE_SWAP
|
||||
# ifdef CHECK_SWAP_SWAPCTL_SVR4
|
||||
return getSwapFromSwapctl_SRV4();
|
||||
return getSwapFromSwapctl_SRV4(config);
|
||||
# else // CHECK_SWAP_SWAPCTL_SVR4
|
||||
# ifdef CHECK_SWAP_SWAPCTL_BSD
|
||||
return getSwapFromSwapctl_BSD();
|
||||
return getSwapFromSwapctl_BSD(config);
|
||||
# else // CHECK_SWAP_SWAPCTL_BSD
|
||||
# error No way found to retrieve swap
|
||||
# endif /* CHECK_SWAP_SWAPCTL_BSD */
|
||||
|
|
|
|||
Loading…
Reference in a new issue