8049049: Unportable format string argument mismatch in hotspot/agent/src/os/solaris/proc/saproc.cpp
Cast arguments on printing Reviewed-by: dholmes, sspitsyn, jbachorik
This commit is contained in:
parent
29ec2196ef
commit
2649b6be70
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user