8153153: Format string argument mismatch in jaccesswalker.cpp:545
authorptbrunet
Wed, 06 Apr 2016 19:53:20 -0500
changeset 37566 4c58d14962c1
parent 37565 0dfeacdb10bc
child 37567 87e77fa3bbc7
8153153: Format string argument mismatch in jaccesswalker.cpp:545 Summary: Use proper format specifier Reviewed-by: prr, serb Contributed-by: peter.brunet@oracle.com
jdk/src/jdk.accessibility/windows/native/jaccesswalker/jaccesswalker.cpp
--- a/jdk/src/jdk.accessibility/windows/native/jaccesswalker/jaccesswalker.cpp	Wed Apr 06 18:59:21 2016 -0500
+++ b/jdk/src/jdk.accessibility/windows/native/jaccesswalker/jaccesswalker.cpp	Wed Apr 06 19:53:20 2016 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -543,7 +543,7 @@
     } else {
         char s[LINE_BUFSIZE];
         sprintf( s,
-            "ERROR calling GetAccessibleContextInfo; vmID = %X, context = %X",
+            "ERROR calling GetAccessibleContextInfo; vmID = %X, context = %p",
             vmID, context );
 
         TVITEM tvi;