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/pid_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/pid_output.c') diff --git a/lib/pid_output.c b/lib/pid_output.c index fca7ec83..2782b9d4 100644 --- a/lib/pid_output.c +++ b/lib/pid_output.c @@ -71,7 +71,7 @@ pid_output_lock (const char *path) if (fd < 0) { zlog_err( "Can't creat pid lock file %s (%s), exit", - path, strerror(errno)); + path, safe_strerror(errno)); umask(oldumask); exit (-1); } -- cgit v1.2.1