diff --git a/bindings/java/src/org/hyperic/sigar/win32/EventLogRecord.java b/bindings/java/src/org/hyperic/sigar/win32/EventLogRecord.java index cc432970..3ed7cb7c 100644 --- a/bindings/java/src/org/hyperic/sigar/win32/EventLogRecord.java +++ b/bindings/java/src/org/hyperic/sigar/win32/EventLogRecord.java @@ -192,7 +192,7 @@ public class EventLogRecord { "[" + new Date(getTimeGenerated() * 1000) + "] " + "[" + getSource() + "] " + "[" + getCategoryString() + "] " + - "[" + getEventId() + "] " + + "[" + (getEventId() & 0xFFFF) + "] " + "[" + getUserString() + "] " + "[" + getComputerName() + "] " + getMessage();