Exposes the processor model

Accessing processor model becomes easier

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
This commit is contained in:
Dr. James Dominic P. Guana
2021-08-20 19:08:15 +08:00
committed by Robert Roth
parent 04bf093412
commit 629097436a
4 changed files with 12 additions and 5 deletions

View File

@@ -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;
}