diff --git a/src/daemon/main.c b/src/daemon/main.c index 20a37149..f797d931 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -232,7 +232,7 @@ handle_parent_connection (int s) 0, NULL); break; case GLIBTOP_CMND_PROC_IO: - memcpy (&pid, parameter, sizeof (pid_t)); + memcpy (&pid, parameter, sizeof (pid_t)); glibtop_get_proc_io_l (server, &resp->u.data.proc_io, pid); do_output (s, resp, _offset_data (proc_io),