diff mbox series

[2/4] libtracefs: Fix typos and grammar in get_affinity man page

Message ID 20220119155741.1766541-3-rostedt@goodmis.org (mailing list archive)
State Accepted
Commit 0ec24c2eb300c08e1209e76fc62178c069b31037
Headers show
Series libtracefs: Address the comments that Tzvetomir had for the get affinity functions | expand

Commit Message

Steven Rostedt Jan. 19, 2022, 3:57 p.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

There were some mistakes in the man page for the get_affinity() API
functions. Fix them.

Link: https://lore.kernel.org/all/CAPpZLN4n=L-ZHCXM+LDRiQu0XwR4iCnGeCKJOuOWenkz2EhESA@mail.gmail.com/

Reported-by: Tzvetomir Stoyanov <tz.stoyanov@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
---
 Documentation/libtracefs-instances-affinity.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/libtracefs-instances-affinity.txt b/Documentation/libtracefs-instances-affinity.txt
index 0f3093d62035..107334dd1298 100644
--- a/Documentation/libtracefs-instances-affinity.txt
+++ b/Documentation/libtracefs-instances-affinity.txt
@@ -24,7 +24,7 @@  char pass:[*]*tracefs_instance_get_affinity_raw*(struct tracefs_instance pass:[*
 
 DESCRIPTION
 -----------
-These functions set or retrieves the CPU affinity that limits what CPUs will have tracing enabled
+These functions set or retrieve the CPU affinity that limits what CPUs will have tracing enabled
 for a given instance defined by the _instance_ parameter. If _instance_ is NULL, then
 the top level instance is affected.
 
@@ -71,7 +71,7 @@  RETURN VALUE
 ------------
 All the set functions return 0 on success and -1 on error.
 
-The functinos *tracefs_instance_get_affinity()* and *tracefs_instance_get_affinity_raw()*
+The functions *tracefs_instance_get_affinity()* and *tracefs_instance_get_affinity_raw()*
 returns an allocated string that must be freed with *free*(3), or NULL on error.
 
 The function *tracefs_instance_get_affinity_set()* returns the number of CPUs that