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 |
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)