diff options
Diffstat (limited to 'pimd')
-rw-r--r-- | pimd/pim_errors.c | 4 | ||||
-rw-r--r-- | pimd/pim_errors.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_errors.c b/pimd/pim_errors.c index 11451d5ab..d154752bd 100644 --- a/pimd/pim_errors.c +++ b/pimd/pim_errors.c @@ -24,7 +24,7 @@ #include "pim_errors.h" /* clang-format off */ -static struct ferr_ref ferr_pim_err[] = { +static struct log_ref ferr_pim_err[] = { { .code = PIM_ERR_MSDP_PACKET, .title = "PIM MSDP Packet Error", @@ -45,5 +45,5 @@ static struct ferr_ref ferr_pim_err[] = { void pim_error_init(void) { - ferr_ref_add(ferr_pim_err); + log_ref_add(ferr_pim_err); } diff --git a/pimd/pim_errors.h b/pimd/pim_errors.h index 86d2687fe..ad9c95a93 100644 --- a/pimd/pim_errors.h +++ b/pimd/pim_errors.h @@ -23,7 +23,7 @@ #include "lib/ferr.h" -enum pim_ferr_refs { +enum pim_log_refs { PIM_ERR_MSDP_PACKET = PIM_FERR_START, PIM_ERR_CONFIG, }; |