aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/sanitize.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libc/sanitize.c')
-rw-r--r--libs/libc/sanitize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libc/sanitize.c b/libs/libc/sanitize.c
index d31c20c..00c9032 100644
--- a/libs/libc/sanitize.c
+++ b/libs/libc/sanitize.c
@@ -183,7 +183,7 @@ void __ubsan_handle_type_mismatch_v1(struct type_mismatch *data, u32 ptr)
};
struct source_location *loc = &data->location;
- const char *msg = "";
+ const char *msg;
if (ptr == 0) {
msg = "null pointer";
} else if (data->alignment != 0 && is_aligned(ptr, data->alignment))