Message ID | 20240111173809.7d5462e8@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | 73ac9c192d058712993f9941927c924f2e206168 |
Headers | show |
Series | libtracefs: Fix tracefs_instance_reset() of triggers | expand |
diff --git a/src/tracefs-instance.c b/src/tracefs-instance.c index 0ee0225..9a26708 100644 --- a/src/tracefs-instance.c +++ b/src/tracefs-instance.c @@ -1539,6 +1539,7 @@ void tracefs_instance_reset(struct tracefs_instance *instance) list_size = tracefs_list_size(file_list); file_list = NULL; for (i = 0; list[i]; i++) { + file = list[i]; ret = clear_trigger(file); if (ret) { char **tlist;