diff --git a/build_tools/get_moduleinfo b/build_tools/get_moduleinfo
index 4dbb2942fb021be4a541bc54149470a9fdc38295..e4e72bbc42e7434c53aa1c0e355fbb525520159c 100644
--- a/build_tools/get_moduleinfo
+++ b/build_tools/get_moduleinfo
@@ -1,4 +1,4 @@
-/\/\*\*\* MODULEINFO/ {printit=1; next}
+/\/\*\*\* +MODULEINFO/ {printit=1; next}
 /<support_level>/ {if (gotsupportlevel) { next }; gotsupportlevel=1}
 /\*\*\*\// {printit=0}
 /.*/ {if (printit) print}
diff --git a/res/res_pjsip_dlg_options.c b/res/res_pjsip_dlg_options.c
index 45a19408d42518d5280a94ca55ef5c09e8893691..34151244b1a7dfeca24adf27b150c0bd1989f5c0 100644
--- a/res/res_pjsip_dlg_options.c
+++ b/res/res_pjsip_dlg_options.c
@@ -16,7 +16,7 @@
  * at the top of the source tree.
  */
 
-/***  MODULEINFO
+/*** MODULEINFO
 	<depend>pjproject</depend>
 	<depend>res_pjsip</depend>
 	<depend>res_pjsip_session</depend>