X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fubsan.c;h=fb0409df1bcf8474969ab5bf28f2c9623a77e041;hb=d52bd54db8be8999df6df5a776f38c4f8b5e9cea;hp=8799ae5e2e42bb4f7142419a2b34e5bd4caf9f3b;hpb=245f0db0de926601353776085e6f6a4c974c5615;p=deliverable%2Flinux.git diff --git a/lib/ubsan.c b/lib/ubsan.c index 8799ae5e2e42..fb0409df1bcf 100644 --- a/lib/ubsan.c +++ b/lib/ubsan.c @@ -308,7 +308,7 @@ static void handle_object_size_mismatch(struct type_mismatch_data *data, return; ubsan_prologue(&data->location, &flags); - pr_err("%s address %pk with insufficient space\n", + pr_err("%s address %p with insufficient space\n", type_check_kinds[data->type_check_kind], (void *) ptr); pr_err("for an object of type %s\n", data->type->type_name);