]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - kernel/panic.c
bug: use %pB in BUG and stack protector failure
[mirror_ubuntu-bionic-kernel.git] / kernel / panic.c
index 2cfef408fec931ac0ef3f3c95b31269ed1d3ea29..4b794f1d85613578bd10bc07d78a3d746a8f0db9 100644 (file)
@@ -640,7 +640,7 @@ device_initcall(register_warn_debugfs);
  */
 __visible void __stack_chk_fail(void)
 {
-       panic("stack-protector: Kernel stack is corrupted in: %p\n",
+       panic("stack-protector: Kernel stack is corrupted in: %pB\n",
                __builtin_return_address(0));
 }
 EXPORT_SYMBOL(__stack_chk_fail);