aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/sanitize.c
diff options
context:
space:
mode:
authorMarvin Borner2021-05-15 22:36:21 +0200
committerMarvin Borner2021-05-15 22:36:21 +0200
commitdf5a8c5b32733ae5e2d872b1c7baa4311a9d2308 (patch)
tree460b35ad421bc74e75e942a35379621ba168c9ea /libs/libc/sanitize.c
parentf97343c268b0fc19bf93d509a019f3d13c7af5a4 (diff)
Strange fixes
I have no ideas halp
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))