diff --git a/sysdeps/linux/ChangeLog b/sysdeps/linux/ChangeLog index 361252a4..13d6cb54 100644 --- a/sysdeps/linux/ChangeLog +++ b/sysdeps/linux/ChangeLog @@ -5,8 +5,8 @@ (proc_file_to_buffer): Uninlined. * sysinfo.c: (init_sysinfo): Re-implemented. - - * sysinfo.c: (init_sysinfo): Fixed segfault on SMP. + Fixed segfault on SMP. + Stores keys in cpuinfo->labels. 2004-06-12 BenoƮt Dejean diff --git a/sysdeps/linux/sysinfo.c b/sysdeps/linux/sysinfo.c index c97759d0..d74b5fa1 100644 --- a/sysdeps/linux/sysinfo.c +++ b/sysdeps/linux/sysinfo.c @@ -91,6 +91,7 @@ init_sysinfo (glibtop *server) gchar * const key = g_strstrip( *p ); gchar * const value = g_strstrip( *(p+1) ); + g_ptr_array_add(cpuinfo->labels, key); g_hash_table_insert(cpuinfo->values, key, value); }