diff --git a/bindings/java/src/net/hyperic/sigar/OperatingSystem.java b/bindings/java/src/net/hyperic/sigar/OperatingSystem.java index 008da21d..e22d00c1 100644 --- a/bindings/java/src/net/hyperic/sigar/OperatingSystem.java +++ b/bindings/java/src/net/hyperic/sigar/OperatingSystem.java @@ -80,10 +80,10 @@ public class OperatingSystem { } os.name = "Win32"; if (os.vendorVersion.equals("XP")) { - os.codeName = "Whistler"; + os.vendorCodeName = "Whistler"; } else if (os.vendorVersion.equals("2003")) { - os.codeName = "Whistler Server"; + os.vendorCodeName = "Whistler Server"; } } else if (os.name.equals("SunOS")) {