diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-01-19 10:57:40 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-02-02 21:39:33 -0500 |
commit | 624551ee4690ea61d8cbc2edb63324768329db82 (patch) | |
tree | 107d2787402ba0651d9b54e6f2240b0042034178 | |
parent | 0ec24c2eb300c08e1209e76fc62178c069b31037 (diff) | |
download | libtracefs-624551ee4690ea61d8cbc2edb63324768329db82.tar.gz |
libtracefs: Fix grammar in tracefs_instance_get_affinity() comment
There was a grammar mistake in the comment describing the
tracefs_instance_get_affinity() function. Fix it.
Link: https://lore.kernel.org/linux-trace-devel/20220119155741.1766541-4-rostedt@goodmis.org
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>
-rw-r--r-- | src/tracefs-instance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tracefs-instance.c b/src/tracefs-instance.c index 2d825b0..db51af3 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) |