--- a/hotspot/src/os/solaris/vm/os_solaris.cpp Thu Dec 16 12:47:52 2010 -0800
+++ b/hotspot/src/os/solaris/vm/os_solaris.cpp Thu Dec 16 14:15:12 2010 -0800
@@ -3065,7 +3065,7 @@
if (addr == NULL) {
jio_snprintf(buf, sizeof(buf), ": %s", strerror(err));
}
- warning("attempt_reserve_memory_at: couldn't reserve %d bytes at "
+ warning("attempt_reserve_memory_at: couldn't reserve " SIZE_FORMAT " bytes at "
PTR_FORMAT ": reserve_memory_helper returned " PTR_FORMAT
"%s", bytes, requested_addr, addr, buf);
}