pc_context_find_proc_stat() does not exist. The right function name is "ps_context_find_proc_stat".
Signed-off-by: Cyril Roelandt <[email protected]> --- libps/ps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libps/ps.h b/libps/ps.h index 91fdc70..bcc43f8 100644 --- a/libps/ps.h +++ b/libps/ps.h @@ -454,7 +454,7 @@ extern char *proc_stat_state_tags; /* Returns in PS a new proc_stat for the process PID in the ps context PC. If a memory allocation error occurs, ENOMEM is returned, otherwise 0. - Users shouldn't use this routine, use pc_context_find_proc_stat instead. */ + Users shouldn't use this routine, use ps_context_find_proc_stat instead. */ error_t _proc_stat_create (pid_t pid, struct ps_context *context, struct proc_stat **ps); -- 1.7.10.4
