summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-04-22 14:32:53 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-04-22 14:32:53 +0000
commit15dc22a1ca6306eafb6ef836f024d880db4f7db3 (patch)
tree6a48031fcb4bf0231370dac2a6fb1677b2c4ac0c /src/util
parentee9fc898577aceba9f751caa1730428e1173e21e (diff)
CCTK_Warn gets extra argument
git-svn-id: http://svn.cactuscode.org/flesh/trunk@496 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Misc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/Misc.c b/src/util/Misc.c
index f4bb3153..8497b168 100644
--- a/src/util/Misc.c
+++ b/src/util/Misc.c
@@ -111,17 +111,17 @@ int CCTK_Equals(const char *string1, const char *string2)
{
message = (char *)malloc((100+sizeof(string2))*sizeof(char));
sprintf(message,"First string null in CCTK_Equals (2nd is %s)",string2);
- CCTK_Warn(0,message);
+ CCTK_WARN(0,"CCTK",message);
}
else if (string1 && !string2)
{
message = (char *)malloc((100+sizeof(string1))*sizeof(char));
sprintf(message,"Second string null in CCTK_Equals (1st is %s)",string1);
- CCTK_Warn(0,message);
+ CCTK_Warn(0,"CCTK",message);
}
else
{
- CCTK_Warn(0,"Both strings null in CCTK_Equals");
+ CCTK_Warn(0,"CCTK","Both strings null in CCTK_Equals");
}
}
@@ -672,7 +672,7 @@ int CCTK_SetLogical(int *data, const char *value)
}
else
{
- CCTK_Warn(1,"Logical not set in CCTK_SetLogical");
+ CCTK_Warn(1,"CCTK","Logical not set in CCTK_SetLogical");
retval = -1;
}