From 60f858ad40c1c1d7245fde0433ea67b2a0dad0ed Mon Sep 17 00:00:00 2001 From: ajs Date: Fri, 26 Nov 2004 20:52:59 +0000 Subject: 2004-11-26 Andrew J. Schorr * log.c, log.h, memory.c: Change function name from zlog_backtrace_safe to the more self-explanatory zlog_backtrace_sigsafe. --- lib/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/memory.c') diff --git a/lib/memory.c b/lib/memory.c index 0d23e542..8e2c4faa 100644 --- a/lib/memory.c +++ b/lib/memory.c @@ -46,9 +46,9 @@ zerror (const char *fname, int type, size_t size) zlog_err ("%s : can't allocate memory for `%s' size %d: %s\n", fname, lookup (mstr, type), (int) size, safe_strerror(errno)); log_memstats(LOG_WARNING); - /* N.B. It might be preferable to call zlog_backtrace_safe here, since + /* N.B. It might be preferable to call zlog_backtrace_sigsafe here, since that function should definitely be safe in an OOM condition. But - unfortunately zlog_backtrace_safe does not support syslog logging at + unfortunately zlog_backtrace_sigsafe does not support syslog logging at this time... */ zlog_backtrace(LOG_WARNING); abort(); -- cgit v1.2.3