diff --git a/tools/man-generator.c b/tools/man-generator.c
index a0758c2..10eaa94 100644
--- a/tools/man-generator.c
+++ b/tools/man-generator.c
@@ -18,7 +18,7 @@
 #include <stdlib.h>
 #include <getopt.h>
 
-#define stack
+#define log_stack
 
 struct cmd_context {
 	void *libmem;
