diff options
Diffstat (limited to 'src/daemon/main.c')
-rw-r--r-- | src/daemon/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c index cd940353..47a94586 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -226,8 +226,9 @@ handle_parent_connection (int s) 0, NULL); break; case GLIBTOP_CMND_PROC_IO: + memcpy (&pid, parameter, sizeof (pid_t)); glibtop_get_proc_io_l - (server, &resp->u.data.proc_io, parameter); + (server, &resp->u.data.proc_io, pid); do_output (s, resp, _offset_data (proc_io), 0, NULL); break; |