ports/java/jdk15/files/patch-j2se::management::UnixOperatingSystem_md.c
Greg Lewis 3e5f30ab66 . Fix a typo that results in an undefined reference (sizof -> sizeof).
PR:		77725
Submitted by:	Anthony Ginepro <anthony.ginepro@laposte.net>
2005-03-21 05:49:33 +00:00

13 lines
434 B
C

$FreeBSD$
--- ../../j2se/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c.orig Sat Feb 19 12:50:03 2005
+++ ../../j2se/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c Fri Feb 18 20:26:04 2005
@@ -283,7 +283,7 @@
mib[0] = CTL_HW;
mib[1] = HW_PHYSMEM;
- rlen = sizof(result);
+ rlen = sizeof(result);
if (sysctl(mib, 2, &result, &rlen, NULL, 0) == -1)
result = 256 * MB;