parse-event: Fix memset pointer size bug in handle
authorSteven Rostedt <srostedt@redhat.com>
Thu, 5 Apr 2012 22:48:05 +0000 (00:48 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 25 Apr 2012 11:35:44 +0000 (13:35 +0200)
commit42c80139eaa0feebf961c9792fa9eef76a3ce663
tree5a9bc31909782f2db9d1c5f4024db19f75c28dbe
parent2e7a5fc8d40be9654f589dad467515c1688ccf6b
parse-event: Fix memset pointer size bug in handle

Fix memset(ptr, 0, sizeof(ptr)) to memset(ptr, 0, sizeof(*ptr))

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Arun Sharma <asharma@fb.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
tools/lib/traceevent/event-parse.c