diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-18 10:17:36 -0400 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 20:02:05 +0000 | 
| commit | 3613d8984440c5193a1d41dd5ccfd1ba50b73d8e (patch) | |
| tree | 60bbfab91d34892c1b2b59b4281e0b3fac9a81a5 /pimd/pimd.c | |
| parent | 7f9a4fd7013d9b08ff85f018e23f08ec02c2a514 (diff) | |
pimd: Convert over to use LIB_ERR_XXX for zlog_err
Convert, where appropriate, the zlog_err functions to zlog_ferr
for the LIB_ERR_XXX enums
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pimd.c')
| -rw-r--r-- | pimd/pimd.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c index cb7b8b589a..f5ec372858 100644 --- a/pimd/pimd.c +++ b/pimd/pimd.c @@ -28,6 +28,7 @@  #include "hash.h"  #include "jhash.h"  #include "vrf.h" +#include "lib_errors.h"  #include "pimd.h"  #include "pim_cmd.h" @@ -84,7 +85,8 @@ static void pim_free()  void pim_init()  {  	if (!inet_aton(PIM_ALL_PIM_ROUTERS, &qpim_all_pim_routers_addr)) { -		zlog_err( +		zlog_ferr( +			LIB_ERR_SOCKET,  			"%s %s: could not solve %s to group address: errno=%d: %s",  			__FILE__, __PRETTY_FUNCTION__, PIM_ALL_PIM_ROUTERS,  			errno, safe_strerror(errno));  | 
