From e86bf5db4ea9790fb081e7d53cd26f76a6f7ed66 Mon Sep 17 00:00:00 2001 From: Stephane Alnet Date: Tue, 26 Nov 2013 16:41:18 +0100 Subject: [PATCH] Allow for `event_pkg_threshold` support. PKG_MEM is not defined or use anywhere else in the code, so assuming `PKG_MALLOC` is meant here. --- cfg.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cfg.y b/cfg.y index 4679a430cd7..a3e141b8e1b 100644 --- a/cfg.y +++ b/cfg.y @@ -707,7 +707,7 @@ assign_stm: DEBUG EQUAL snumber { } | EVENT_SHM_THRESHOLD EQUAL error { yyerror("int value expected"); } | EVENT_PKG_THRESHOLD EQUAL NUMBER { - #ifdef PKG_MEM + #ifdef PKG_MALLOC #ifdef STATISTICS if ($3 < 0 || $3 > 100) yyerror("PKG threshold has to be a percentage between 0 and 100"); @@ -715,7 +715,7 @@ assign_stm: DEBUG EQUAL snumber { #else yyerror("statistics support not compiled in"); #endif - #else /* PKG_MEM */ + #else /* PKG_MALLOC */ yyerror("pkg memory support not compiled in"); #endif }