Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323882
b: refs/heads/master
c: b851192
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Sep 24, 2012
1 parent 56001e7 commit 648d502
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 87162d816f5f344d72e25249acd9b823b646a5c9
refs/heads/master: b85119200dfaf51d361008d986d591156c7473d4
6 changes: 3 additions & 3 deletions trunk/tools/lib/traceevent/event-parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ static int event_read_fields(struct event_format *event, struct format_field **f
}

if (!field->type) {
die("no type found");
do_warning("%s: no type found", __func__);
goto fail;
}
field->name = last_token;
Expand Down Expand Up @@ -1317,7 +1317,7 @@ static int event_read_fields(struct event_format *event, struct format_field **f
free_token(token);
type = read_token(&token);
if (type == EVENT_NONE) {
die("failed to find token");
do_warning("failed to find token");
goto fail;
}
}
Expand Down Expand Up @@ -1669,7 +1669,7 @@ process_op(struct event_format *event, struct print_arg *arg, char **tok)
if (arg->type == PRINT_OP && !arg->op.left) {
/* handle single op */
if (token[1]) {
die("bad op token %s", token);
do_warning("bad op token %s", token);
goto out_free;
}
switch (token[0]) {
Expand Down

0 comments on commit 648d502

Please sign in to comment.