trace-cmd/bz1386451-trace-cmd-record-crash-f-before-e.patch
zsun f114a4ec57 Add bz1386451-trace-cmd-record-crash-f-before-e.patch
- Fix rpmlint error unstripped-binary-or-object
- Resolves: rhbz#1386451
2016-10-19 21:56:39 +08:00

14 lines
434 B
Diff

diff --git a/trace-record.c b/trace-record.c
index a8d32d3..ab64418 100644
--- a/trace-record.c
+++ b/trace-record.c
@@ -3803,7 +3803,7 @@ void trace_record (int argc, char **argv)
const char *output = NULL;
const char *option;
struct event_list *event = NULL;
- struct event_list *last_event;
+ struct event_list *last_event = NULL;
struct buffer_instance *instance = &top_instance;
enum trace_type type = 0;
char *pids;