diff options
Diffstat (limited to 'src/libs/zbxalgo/vectorimpl.h')
-rw-r--r-- | src/libs/zbxalgo/vectorimpl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/zbxalgo/vectorimpl.h b/src/libs/zbxalgo/vectorimpl.h index b7f260ec9ce..0c23e377716 100644 --- a/src/libs/zbxalgo/vectorimpl.h +++ b/src/libs/zbxalgo/vectorimpl.h @@ -93,7 +93,7 @@ void zbx_vector_ ## __id ## _remove_noorder(zbx_vector_ ## __id ## _t *vector, i if (!(0 <= index && index < vector->values_num)) \ { \ zabbix_log(LOG_LEVEL_CRIT, "removing a non-existent element at index %d", index); \ - exit(FAIL); \ + exit(EXIT_FAILURE); \ } \ \ vector->values[index] = vector->values[--vector->values_num]; \ @@ -104,7 +104,7 @@ void zbx_vector_ ## __id ## _remove(zbx_vector_ ## __id ## _t *vector, int index if (!(0 <= index && index < vector->values_num)) \ { \ zabbix_log(LOG_LEVEL_CRIT, "removing a non-existent element at index %d", index); \ - exit(FAIL); \ + exit(EXIT_FAILURE); \ } \ \ vector->values_num--; \ |