]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
typo in #ifndef EREALLOC_CALLSITE hides file/line number from
authorDave Hart <hart@ntp.org>
Wed, 25 May 2011 03:52:15 +0000 (03:52 +0000)
committerDave Hart <hart@ntp.org>
Wed, 25 May 2011 03:52:15 +0000 (03:52 +0000)
  emalloc() error message where available.

bk: 4ddc7cef4OkCGeOquWwHwvEl9_uwzw

libntp/emalloc.c

index 49a07b54a40a8a41f4f2c72173586cf10876e04f..c49c5c1e178153047ad3a428e5d1a106c07338c6 100644 (file)
@@ -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