diff mbox series

[3/4] libtracefs: Fix grammar in tracefs_instance_get_affinity() comment

Message ID 20220119155741.1766541-4-rostedt@goodmis.org (mailing list archive)
State Accepted
Commit 624551ee4690ea61d8cbc2edb63324768329db82
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 was a grammar mistake in the comment describing the
tracefs_instance_get_affinity() function. Fix it.

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>
---
 src/tracefs-instance.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/tracefs-instance.c b/src/tracefs-instance.c
index 2d825b0e3bd0..db51af3818f0 100644
--- a/src/tracefs-instance.c
+++ b/src/tracefs-instance.c
@@ -1112,7 +1112,7 @@  static inline int update_cpu(int cpus, int cpu_set, int cpu, int s, char **set)
  * If no CPUs are set, an empty string is returned "\0", and it too needs
  * to be freed.
  *
- * Returns an allocate string containing the CPU affinity in "human readable"
+ * Returns an allocated string containing the CPU affinity in "human readable"
  *  format which needs to be freed with free(), or NULL on error.
  */
 char *tracefs_instance_get_affinity(struct tracefs_instance *instance)