Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321408
b: refs/heads/master
c: 0ecf4f0
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed Aug 1, 2012
1 parent d64cd9f commit ef546ed
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: 028df76726c5637c6f70a064d94452808ec74f9e
refs/heads/master: 0ecf4f0c02b7802de5d1251e03e6eab360f158e1
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/target.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int perf_target__strerror(struct perf_target *target, int errnum,
int idx;
const char *msg;

BUG_ON(buflen > 0);
BUG_ON(buflen == 0);

if (errnum >= 0) {
const char *err = strerror_r(errnum, buf, buflen);
Expand Down

0 comments on commit ef546ed

Please sign in to comment.