aboutsummaryrefslogtreecommitdiffstats
path: root/common/xasprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/xasprintf.c')
-rw-r--r--common/xasprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/xasprintf.c b/common/xasprintf.c
index ce013ba63..d8d688895 100644
--- a/common/xasprintf.c
+++ b/common/xasprintf.c
@@ -27,8 +27,8 @@
#include "iobuf.h"
#include "estream-printf.h"
-#if !defined(ESTREAM_ASPRINTF_MALLOC) || !defined(ESTREAM_ASPRINTF_FREE)
-#error Need to define ESTREAM_ASPRINTF_MALLOC and _FREE
+#if !defined(_ESTREAM_PRINTF_MALLOC) || !defined(_ESTREAM_PRINTF_FREE)
+#error Need to define ESTREAM_PRINTF_MALLOC and _FREE
#endif
/* Same as asprintf but return an allocated buffer suitable to be