summaryrefslogtreecommitdiffstats
path: root/lib/memory.c
diff options
context:
space:
mode:
authorajs <ajs>2004-11-26 20:52:59 +0000
committerajs <ajs>2004-11-26 20:52:59 +0000
commit60f858ad40c1c1d7245fde0433ea67b2a0dad0ed (patch)
tree386d3cafcd8fe17bd8318888aca391b36bf155df /lib/memory.c
parent42fde89efd6559ea30229d15241bdbac3e2dcd3b (diff)
downloadquagga-60f858ad40c1c1d7245fde0433ea67b2a0dad0ed.tar.bz2
quagga-60f858ad40c1c1d7245fde0433ea67b2a0dad0ed.tar.xz
2004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* log.c, log.h, memory.c: Change function name from zlog_backtrace_safe to the more self-explanatory zlog_backtrace_sigsafe.
Diffstat (limited to 'lib/memory.c')
-rw-r--r--lib/memory.c4
1 files changed, 2 insertions, 2 deletions
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();