summaryrefslogtreecommitdiffstats
path: root/lib/thread.c
diff options
context:
space:
mode:
authorajs <ajs>2004-11-20 02:06:59 +0000
committerajs <ajs>2004-11-20 02:06:59 +0000
commita113290b29b12bc66ed2d726b7d2ff971b50b8f2 (patch)
tree9e742d207a6a74c84738e9abf86dbb804e399293 /lib/thread.c
parentd3cd86f5876e014e59268b60e8077d7e8b4f5332 (diff)
downloadquagga-a113290b29b12bc66ed2d726b7d2ff971b50b8f2.tar.bz2
quagga-a113290b29b12bc66ed2d726b7d2ff971b50b8f2.tar.xz
2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* global: Replace strerror with safe_strerror. And vtysh/vtysh.c needs to include "log.h" to pick up the declaration.
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c2
1 files changed, 1 insertions, 1 deletions
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;
}