Exposes the processor model
Accessing processor model becomes easier Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
This commit is contained in:
committed by
Robert Roth
parent
04bf093412
commit
629097436a
@@ -59,8 +59,9 @@ init_sysinfo (glibtop *server)
|
||||
|
||||
if (buf != NULL)
|
||||
{
|
||||
buf+=2; // we want to look at what's _after_ the ':'
|
||||
sysinfo.model = buf;
|
||||
/* we want to look at what's _after_ the ':' */
|
||||
buf+=2;
|
||||
sysinfo.model = g_strdup (buf);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user