aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2006-08-14 14:37:29 +0000
committerschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2006-08-14 14:37:29 +0000
commit29bf3eb2b8ad0ad8ecddcfe8c8c03a5690279355 (patch)
treeddf81ba0c7f70822d36f682dbd80adce890703f6 /src
parent9d384dd7391d96df1d86e44aa00eed381d164830 (diff)
Correct prototype of routine scheduled at startup.
Correct arguments passed to CCTK_VInfo when printing the build and simulation ids. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@113 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src')
-rw-r--r--src/id.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/id.cc b/src/id.cc
index 8d50e00..e981f0a 100644
--- a/src/id.cc
+++ b/src/id.cc
@@ -117,11 +117,12 @@ namespace Formaline
- extern "C" void
+ extern "C" int
Formaline_PrintIDs ()
{
- CCTK_VInfo ("Build id: %s", get_build_id (0));
- CCTK_VInfo ("Simulation id: %s", get_job_id (0));
+ CCTK_VInfo (CCTK_THORNSTRING, "Build id: %s", get_build_id (0));
+ CCTK_VInfo (CCTK_THORNSTRING, "Simulation id: %s", get_job_id (0));
+ return 0;
}
} // namespace Formaline