[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] libps/ps.h: Fix typo in the documentation of _proc_stat_create()
From: |
Cyril Roelandt |
Subject: |
[PATCH] libps/ps.h: Fix typo in the documentation of _proc_stat_create(). |
Date: |
Mon, 22 Oct 2012 01:56:08 +0200 |
pc_context_find_proc_stat() does not exist. The right function name is
"ps_context_find_proc_stat".
Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
---
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
- [PATCH] libps/ps.h: Fix typo in the documentation of _proc_stat_create().,
Cyril Roelandt <=