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 <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
  • Loading branch information
PeterHuewe authored and namhyung 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.