提交 b3e15b87 编写于 作者: D dsamersoff

8049049: Unportable format string argument mismatch in hotspot/agent/src/os/solaris/proc/saproc.cpp

Summary: Cast arguments on printing
Reviewed-by: dholmes, sspitsyn, jbachorik
上级 5a7791c0
......@@ -314,7 +314,7 @@ static void * pathmap_dlopen(const char * name, int mode) {
handle = dlopen(name, mode);
}
if (_libsaproc_debug) {
printf("libsaproc DEBUG: pathmap_dlopen %s return 0x%x\n", name, handle);
printf("libsaproc DEBUG: pathmap_dlopen %s return 0x%lx\n", name, (unsigned long) handle);
}
return handle;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册