diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2012-04-24 17:19:40 -0400 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2012-07-04 00:40:31 -0400 |
commit | c9bbabe32a231b5caa8c42fa6783405346983c59 (patch) | |
tree | 0ba5ec3bffb8ee5ccd67dae6662e3f9e950864b7 /tools/lib/traceevent | |
parent | 0fed48341529716c38493be66591bda458921b75 (diff) |
tools lib traceevent: Add missing break in make_bprint_args
In the current code we assign vsize=8 and then fall through to the
default and assign vsize=1. -> probably the break is missing here,
otherwise we can remove the case.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/n/tip-3fxjy46h2tr9pl0spv7tems6@git.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/lib/traceevent')
-rw-r--r-- | tools/lib/traceevent/event-parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c index 863016040dd6..f880db457842 100644 --- a/tools/lib/traceevent/event-parse.c +++ b/tools/lib/traceevent/event-parse.c | |||
@@ -3594,6 +3594,7 @@ static struct print_arg *make_bprint_args(char *fmt, void *data, int size, struc | |||
3594 | break; | 3594 | break; |
3595 | case 2: | 3595 | case 2: |
3596 | vsize = 8; | 3596 | vsize = 8; |
3597 | break; | ||
3597 | default: | 3598 | default: |
3598 | vsize = ls; /* ? */ | 3599 | vsize = ls; /* ? */ |
3599 | break; | 3600 | break; |