changeset 14238:53e8a38d23f6

8153153: Format string argument mismatch in jaccesswalker.cpp:545 Summary: Use proper format specifier Reviewed-by: prr, serb Contributed-by: peter.brunet@oracle.com
author ptbrunet
date Wed, 06 Apr 2016 19:53:20 -0500
parents 282fa37a9dc4
children dc79a53039f7
files src/jdk.accessibility/windows/native/jaccesswalker/jaccesswalker.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.accessibility/windows/native/jaccesswalker/jaccesswalker.cpp	Wed Apr 06 18:59:21 2016 -0500
+++ b/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;