Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277309
b: refs/heads/master
c: e70825f
h: refs/heads/master
i:
  277307: 3badfd1
v: v3
  • Loading branch information
Masami Hiramatsu authored and Ingo Molnar committed Dec 5, 2011
1 parent 262fed7 commit cefeda9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: bfbe9015de5c78d1808cd09526b9166b2e6aa440
refs/heads/master: e70825fc51e149366ab5659bd36beb73aad187a0
4 changes: 2 additions & 2 deletions trunk/arch/x86/tools/insn_sanity.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static void dump_stream(FILE *fp, const char *msg, unsigned long nr_iter,

fprintf(fp, "%s:\n", msg);

dump_insn(stderr, insn);
dump_insn(fp, insn);

fprintf(fp, "You can reproduce this with below command(s);\n");

Expand Down Expand Up @@ -260,7 +260,7 @@ int main(int argc, char **argv)
if (insn.next_byte <= insn.kaddr ||
insn.kaddr + MAX_INSN_SIZE < insn.next_byte) {
/* Access out-of-range memory */
dump_stream(stdout, "Error: Found an access violation", i, insn_buf, &insn);
dump_stream(stderr, "Error: Found an access violation", i, insn_buf, &insn);
errors++;
} else if (verbose && !insn_complete(&insn))
dump_stream(stdout, "Info: Found an undecodable input", i, insn_buf, &insn);
Expand Down

0 comments on commit cefeda9

Please sign in to comment.