Skip to content

Instantly share code, notes, and snippets.

@agentzh
Created December 20, 2019 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agentzh/87b80c4c62a657e9ad016e917ecd7ce0 to your computer and use it in GitHub Desktop.
Save agentzh/87b80c4c62a657e9ad016e917ecd7ce0 to your computer and use it in GitHub Desktop.
diff --git a/buildrun.cxx b/buildrun.cxx
index 9e1b1d066..b5a19ff84 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -502,6 +502,8 @@ compile_pass (systemtap_session& s)
// used by tapset/linux/ioblock.stp
output_exportconf(s, o2, "disk_get_part", "STAPCONF_DISK_GET_PART");
+ o2.close ();
+
o << ".PHONY: gen-stapconf" << endl;
o << "gen-stapconf: stapconf_export.h";
for (unsigned i=0; i<cs.size(); i++)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment