version 2.6.1
* configure.in: version 2.6.1
This commit is contained in:
@@ -83,7 +83,7 @@ glibtop_get_proc_state_s (glibtop *server, glibtop_proc_state *buf, pid_t pid)
|
||||
buf->state = p [2];
|
||||
|
||||
p = skip_token (buffer); p++; /* pid */
|
||||
if (G_UNLIKELY(*p++ != '('))
|
||||
if (*p++ != '(')
|
||||
glibtop_error_r (server, "Bad data in /proc/%d/stat", pid);
|
||||
|
||||
g_strlcpy (buf->cmd, p, sizeof buf->cmd);
|
||||
|
Reference in New Issue
Block a user