Hotfix: Fix use of circuit breaker param

This commit is contained in:
Lorenz Meier 2014-07-01 09:52:18 +02:00
parent 8408993a67
commit 45433c3711
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ PARAM_DEFINE_INT32(CBRK_IO_SAFETY, 0);
bool circuit_breaker_enabled(const char* breaker, int32_t magic)
{
int32_t val;
(void)param_get(param_find(breaker), val);
(void)param_get(param_find(breaker), &val);
return (val == magic);
}