8153153: Format string argument mismatch in jaccesswalker.cpp:545

Use proper format specifier

Reviewed-by: prr, serb
This commit is contained in:
Peter Brunet 2016-04-06 19:53:20 -05:00 committed by Pete Brunet
parent 5621da5d8a
commit da560b4744

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -543,7 +543,7 @@ void Jaccesswalker::addComponentNodes(long vmID, AccessibleContext context,
} else { } else {
char s[LINE_BUFSIZE]; char s[LINE_BUFSIZE];
sprintf( s, sprintf( s,
"ERROR calling GetAccessibleContextInfo; vmID = %X, context = %X", "ERROR calling GetAccessibleContextInfo; vmID = %X, context = %p",
vmID, context ); vmID, context );
TVITEM tvi; TVITEM tvi;