Message ID | 20230103183846.5ffdef36@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | eeafd61b7de34e4f3ccbde3356f88ac2cd36234e |
Headers | show |
Series | libtracefs: Fix tracefs_instance_set_buffer_size() for individual CPUs | expand |
diff --git a/src/tracefs-instance.c b/src/tracefs-instance.c index 6905f61ff929..57f5c7f9a000 100644 --- a/src/tracefs-instance.c +++ b/src/tracefs-instance.c @@ -419,7 +419,7 @@ int tracefs_instance_set_buffer_size(struct tracefs_instance *instance, size_t s return ret; } - ret = tracefs_instance_file_write(instance, path, "val"); + ret = tracefs_instance_file_write(instance, path, val); free(path); } free(val);