diff options
| author | Adrian Hunter <[email protected]> | 2014-07-17 08:43:09 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-07-22 13:18:57 +0000 |
| commit | a6f6ae99f12e8154d5cde6e8366fc228f68d6ae5 (patch) | |
| tree | dac111c4ad4e20ea8f9ca570ce5f5686d03a3bf2 /tools/perf/builtin-script.c | |
| parent | Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| download | kernel-a6f6ae99f12e8154d5cde6e8366fc228f68d6ae5.tar.gz kernel-a6f6ae99f12e8154d5cde6e8366fc228f68d6ae5.zip | |
perf tools: Fix incorrect fd error comparison
Zero is a valid fd. Error comparison should check for negative fd.
Signed-off-by: Adrian Hunter <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
