1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Index: crm114/crm_util_errorhandlers.c
===================================================================
--- crm114.orig/crm_util_errorhandlers.c 2009-08-07 17:22:37.000000001 +0200
+++ crm114/crm_util_errorhandlers.c 2014-05-24 19:41:56.000000001 +0200
@@ -23,17 +23,20 @@
fprintf (stderr, "ERROR: %s%s \n", str1, str2);
exit (-1);
}
-long fatalerror5 ( char *str1, char *str2)
+long fatalerror5 ( char *str1, char *str2,
+ char *filename, char *function, unsigned lineno)
{
fprintf (stderr, "ERROR: %s%s \n", str1, str2);
exit (-1);
}
-long nonfatalerror5 ( char *str1, char *str2)
+long nonfatalerror5 ( char *str1, char *str2,
+ char *filename, char *function, unsigned lineno)
{
fprintf (stderr, "ERROR: %s%s \n", str1, str2);
exit (-1);
}
-long untrappableerror5 ( char *str1, char *str2)
+long untrappableerror5 ( char *str1, char *str2,
+ char *filename, char *function, unsigned lineno)
{
fprintf (stderr, "ERROR: %s%s \n", str1, str2);
exit (-1);
|