dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Peter Huewe 2012-04-24 23:19:40 +02:00 committed by Namhyung Kim
parent 0fed483415
commit c9bbabe32a
1 changed files with 1 additions and 0 deletions

View File

@ -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;