Skip to content

Commit

Permalink
tools lib traceevent: Add missing break in make_bprint_args
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and Namhyung Kim committed Jul 4, 2012
1 parent 0fed483 commit c9bbabe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/lib/traceevent/event-parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -3594,6 +3594,7 @@ static struct print_arg *make_bprint_args(char *fmt, void *data, int size, struc
break;
case 2:
vsize = 8;
break;
default:
vsize = ls; /* ? */
break;
Expand Down

0 comments on commit c9bbabe

Please sign in to comment.