Mercurial > hg > graal-jvmci-8
changeset 23458:4a4a5b8b3dfe
8143855: Bad printf formatting in frame_zero.cpp
Summary: Backport subset of 8075967 fix that resolves this issue.
Reviewed-by: dholmes
author | andrew |
---|---|
date | Thu, 26 Nov 2015 03:40:07 +0000 |
parents | 110735ab93ec |
children | f87db3f01e3f |
files | src/cpu/zero/vm/frame_zero.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpu/zero/vm/frame_zero.cpp Wed Nov 04 13:38:38 2015 +0100 +++ b/src/cpu/zero/vm/frame_zero.cpp Thu Nov 26 03:40:07 2015 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. * Copyright 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -216,7 +216,7 @@ valuebuf[buflen - 1] = '\0'; // Print the result - st->print_cr(" " PTR_FORMAT ": %-21s = %s", addr, fieldbuf, valuebuf); + st->print_cr(" " PTR_FORMAT ": %-21s = %s", p2i(addr), fieldbuf, valuebuf); } }