diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/linux/sysinfo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/linux/sysinfo.c b/sysdeps/linux/sysinfo.c index c9a66653..2ebe0ec5 100644 --- a/sysdeps/linux/sysinfo.c +++ b/sysdeps/linux/sysinfo.c @@ -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; } |