diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-24 17:14:09 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:56:41 +0000 | 
| commit | 364fed6b074a702f21e190cb7aff33e13c65e808 (patch) | |
| tree | 5af486911acf99960cc4dc79bb0e4d281936fd97 /zebra/rtread_sysctl.c | |
| parent | c98d5ce810aaaa59f09ae3f078e26d999d77dcdd (diff) | |
zebra: fix includes
Add and remove error related includes as necessary.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/rtread_sysctl.c')
| -rw-r--r-- | zebra/rtread_sysctl.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/rtread_sysctl.c b/zebra/rtread_sysctl.c index ca3ff2dc65..5f6b62df23 100644 --- a/zebra/rtread_sysctl.c +++ b/zebra/rtread_sysctl.c @@ -31,6 +31,7 @@  #include "zebra/rt.h"  #include "zebra/kernel_socket.h"  #include "zebra/zebra_pbr.h" +#include "zebra/zebra_errors.h"  /* Kernel routing table read up by sysctl function. */  void route_read(struct zebra_ns *zns) @@ -47,7 +48,7 @@ void route_read(struct zebra_ns *zns)  	/* Get buffer size. */  	if (sysctl(mib, MIBSIZ, NULL, &bufsiz, NULL, 0) < 0) { -		flog_warn(ZEBRA_ERR_ZEBRA_ERR_SYSCTL_FAILED, "sysctl fail: %s", +		flog_warn(ZEBRA_ERR_SYSCTL_FAILED, "sysctl fail: %s",  			  safe_strerror(errno));  		return;  	}  | 
