Browse Source

include/starpu_util.h: STARPU_ABORT adds () after function name

Nathalie Furmento 11 years ago
parent
commit
9bc542f7ce
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/starpu_util.h

+ 2 - 2
include/starpu_util.h

@@ -89,12 +89,12 @@ extern "C"
 #endif
 #endif
 
 
 #define STARPU_ABORT() do {                                          \
 #define STARPU_ABORT() do {                                          \
-	fprintf(stderr, "[starpu][abort][%s@%s:%d]\n", __starpu_func__, __FILE__, __LINE__); \
+	fprintf(stderr, "[starpu][abort][%s()@%s:%d]\n", __starpu_func__, __FILE__, __LINE__); \
 	abort();                                                     \
 	abort();                                                     \
 } while(0)
 } while(0)
 
 
 #define STARPU_ABORT_MSG(msg, ...) do {					\
 #define STARPU_ABORT_MSG(msg, ...) do {					\
-	fprintf(stderr, "[starpu][abort][%s@%s:%d] " msg "\n", __starpu_func__, __FILE__, __LINE__, ## __VA_ARGS__); \
+	fprintf(stderr, "[starpu][abort][%s()@%s:%d] " msg "\n", __starpu_func__, __FILE__, __LINE__, ## __VA_ARGS__); \
 	abort();                                                     \
 	abort();                                                     \
 } while(0)
 } while(0)