From a113290b29b12bc66ed2d726b7d2ff971b50b8f2 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/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/thread.c') diff --git a/lib/thread.c b/lib/thread.c index 09d6ff73..89df06a0 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -791,7 +791,7 @@ thread_fetch (struct thread_master *m, struct thread *fetch) continue; } - zlog_warn ("select() error: %s", strerror (errno)); + zlog_warn ("select() error: %s", safe_strerror (errno)); return NULL; } -- cgit v1.2.3