diff --git a/ChangeLog b/ChangeLog index 71c3e62a..373634e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-07-24 Doug MacEachern + + * [SIGAR-11] Initialize log fields in solaris_sigar.c:sigar_os_open + 2006-07-15 Doug MacEachern * 1.2 released diff --git a/bindings/java/version.properties b/bindings/java/version.properties index 46cf251f..a6c7d844 100644 --- a/bindings/java/version.properties +++ b/bindings/java/version.properties @@ -2,5 +2,5 @@ copyright.year=2004-2006 version.major=1 version.minor=2 version.maint=0 -version.build=0 +version.build=1 diff --git a/src/os/solaris/solaris_sigar.c b/src/os/solaris/solaris_sigar.c index 850e9afc..6380ffd1 100644 --- a/src/os/solaris/solaris_sigar.c +++ b/src/os/solaris/solaris_sigar.c @@ -53,6 +53,10 @@ int sigar_os_open(sigar_t **sig) sigar = malloc(sizeof(*sigar)); *sig = sigar; + sigar->log_level = -1; /* log nothing by default */ + sigar->log_impl = NULL; + sigar->log_data = NULL; + uname(&name); if ((ptr = strchr(name.release, '.'))) { ptr++;