summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2012-10-22 01:56:08 +0200
committerThomas Schwinge <thomas@codesourcery.com>2012-10-22 08:37:09 +0200
commit2e22275ea95f4a528f8badf24b833fb1f060f7f6 (patch)
treea0a2bcdeaeb30bbfaff70d424d1e288dec855fa9
parent6896cf78d42249c8345ba2e5ecea627bc80e115e (diff)
libps: Fix typo in the documentation of _proc_stat_create.
* libps/ps.h: Refer to ps_context_find_proc_stat instead of pc_context_find_proc_stat.
-rw-r--r--libps/ps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libps/ps.h b/libps/ps.h
index 91fdc70b..bcc43f8b 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);