From: Dave Hart Date: Wed, 25 May 2011 03:52:15 +0000 (+0000) Subject: typo in #ifndef EREALLOC_CALLSITE hides file/line number from X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ff026f148ff252aad8401ed98c3c141591dd81a;p=thirdparty%2Fntp.git typo in #ifndef EREALLOC_CALLSITE hides file/line number from emalloc() error message where available. bk: 4ddc7cef4OkCGeOquWwHwvEl9_uwzw --- diff --git a/libntp/emalloc.c b/libntp/emalloc.c index 49a07b54a4..c49c5c1e17 100644 --- a/libntp/emalloc.c +++ b/libntp/emalloc.c @@ -43,7 +43,7 @@ ereallocz( mem = EREALLOC_IMPL(ptr, allocsz, file, line); if (NULL == mem) { msyslog_term = TRUE; -#ifndef REALLOC_CALLSITE +#ifndef EREALLOC_CALLSITE msyslog(LOG_ERR, "fatal out of memory (%lu bytes)", (u_long)newsz); #else