summaryrefslogtreecommitdiff
path: root/openmp/libomptarget/DeviceRTL/src/Debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/libomptarget/DeviceRTL/src/Debug.cpp')
-rw-r--r--openmp/libomptarget/DeviceRTL/src/Debug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/libomptarget/DeviceRTL/src/Debug.cpp b/openmp/libomptarget/DeviceRTL/src/Debug.cpp
index aecc33c0497a..31cd54e3de35 100644
--- a/openmp/libomptarget/DeviceRTL/src/Debug.cpp
+++ b/openmp/libomptarget/DeviceRTL/src/Debug.cpp
@@ -33,10 +33,10 @@ void __assert_fail(const char *expr, const char *file, unsigned line,
void __assert_fail_internal(const char *expr, const char *msg, const char *file,
unsigned line, const char *function) {
if (msg) {
- PRINTF("%s:%u: %s: Assertion %s (`%s') failed.\n", file, line, function,
+ PRINTF("%s:%u: %s: Assertion %s (`%s`) failed.\n", file, line, function,
msg, expr);
} else {
- PRINTF("%s:%u: %s: Assertion `%s' failed.\n", file, line, function, expr);
+ PRINTF("%s:%u: %s: Assertion `%s` failed.\n", file, line, function, expr);
}
__builtin_trap();
}