Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338985
b: refs/heads/master
c: e46466b
h: refs/heads/master
i:
  338983: 13d86be
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Nov 9, 2012
1 parent de0b638 commit 35d1653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8a38cce4c900307e947eda774f844caf5b9a7083
refs/heads/master: e46466b8bd5918626250dc0d6cb6c2147a611087
2 changes: 1 addition & 1 deletion trunk/tools/lib/traceevent/event-parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -5363,7 +5363,7 @@ int pevent_register_print_function(struct pevent *pevent,
if (type == PEVENT_FUNC_ARG_VOID)
break;

if (type < 0 || type >= PEVENT_FUNC_ARG_MAX_TYPES) {
if (type >= PEVENT_FUNC_ARG_MAX_TYPES) {
do_warning("Invalid argument type %d", type);
ret = PEVENT_ERRNO__INVALID_ARG_TYPE;
goto out_free;
Expand Down

0 comments on commit 35d1653

Please sign in to comment.