From 6099b3b56956322567323c11fd698b2328c6826b Mon Sep 17 00:00:00 2001 From: ajs Date: Sat, 20 Nov 2004 02:06:59 +0000 Subject: 2004-11-19 Andrew J. Schorr * global: Replace strerror with safe_strerror. And vtysh/vtysh.c needs to include "log.h" to pick up the declaration. --- lib/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/buffer.c') diff --git a/lib/buffer.c b/lib/buffer.c index 3701e121..296fd144 100644 --- a/lib/buffer.c +++ b/lib/buffer.c @@ -598,7 +598,7 @@ in one shot. */ { if ((errno != EAGAIN) && (errno != EINTR)) zlog_warn("buffer_flush_available write error on fd %d: %s", - fd,strerror(errno)); + fd,safe_strerror(errno)); return 1; } -- cgit v1.2.1