summaryrefslogtreecommitdiff
path: root/src/main/WarnLevel.c
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-06-01 18:32:33 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-06-01 18:32:33 +0000
commit8f73b0a488ace18937ec28975ddf3adb3f5e8ded (patch)
treee2e1cc04424020f90f228b26fefb738f12570d3a /src/main/WarnLevel.c
parent140bca79e4166dea6e01c6066c28956f4ad943dc (diff)
CCTK_Info() calls CCTK_VInfo() so that stdout is flushed in there.
This closes PR Cactus-700. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2213 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/WarnLevel.c')
-rw-r--r--src/main/WarnLevel.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/WarnLevel.c b/src/main/WarnLevel.c
index 26073de8..4f73e3e7 100644
--- a/src/main/WarnLevel.c
+++ b/src/main/WarnLevel.c
@@ -105,14 +105,12 @@ static pKeyedData *formatlist = NULL;
@returntype int
@returndesc
- 0 - success
+ return code of @seeroutine CCTK_VInfo
@endreturndesc
@@*/
int CCTK_Info (const char *thorn, const char *message)
{
- fprintf (stdout, "INFO (%s): %s\n", thorn, message);
-
- return (0);
+ return (CCTK_VInfo (thorn, "%s", message));
}
void CCTK_FCALL CCTK_FNAME (CCTK_Info)