diff options
author | knarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2013-07-27 16:01:04 +0000 |
---|---|---|
committer | knarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2013-07-27 16:01:04 +0000 |
commit | 9402a9d7ef0240dd3357ef334cfe94c0452846c6 (patch) | |
tree | 57ccaf3d21b5ae4a27318bd36ab442a9aa73e451 /src | |
parent | 380b2e54f778078ac55c5f605924997dde99ea9f (diff) |
Cactus currently prints
10
1 0101 ************************
01 1010 10 The Cactus Code V4.0
1010 1101 011 www.cactuscode.org
1001 100101 ************************
00010101
100011 (c) Copyright The Authors
0100 GNU Licensed. No Warranty
0101
Cactus version: 4.2.1
Note the first version, mentioned in the Banner (4.0) is wrong - it's hard-coded in the source. The attached patch uses CCTK_FullVersion() instead.
Kudos to Steve to spot this.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@5035 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r-- | src/main/Banner.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/Banner.c b/src/main/Banner.c index 2581e583..a4c94d40 100644 --- a/src/main/Banner.c +++ b/src/main/Banner.c @@ -82,7 +82,7 @@ void CCTKi_CactusBanner (void) char buffer[DATALENGTH+1]; const char *banner = " 10 \n" " 1 0101 ************************ \n" - " 01 1010 10 The Cactus Code V4.0 \n" + " 01 1010 10 The Cactus Code V%s \n" " 1010 1101 011 www.cactuscode.org \n" " 1001 100101 ************************ \n" " 00010101 \n" @@ -92,7 +92,7 @@ void CCTKi_CactusBanner (void) puts (delimiter); - puts (banner); + printf (banner, CCTK_FullVersion ()); puts (delimiter); printf ("Cactus version: %s\n", CCTK_FullVersion ()); |