diff options
Diffstat (limited to 'benchmarks/bionic_benchmarks.cpp')
-rw-r--r-- | benchmarks/bionic_benchmarks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/bionic_benchmarks.cpp b/benchmarks/bionic_benchmarks.cpp index 9cec3c460..e5a23adc1 100644 --- a/benchmarks/bionic_benchmarks.cpp +++ b/benchmarks/bionic_benchmarks.cpp @@ -248,7 +248,7 @@ int RegisterXmlBenchmarks(bench_opts_t cmdline_opts, // - - Element "args" Whitespace-separated list of per-function integer arguments, or // one of the macros defined in util.h. tinyxml2::XMLDocument doc; - if (doc.LoadFile(cmdline_opts.xmlpath.c_str()) != tinyxml2::XML_NO_ERROR) { + if (doc.LoadFile(cmdline_opts.xmlpath.c_str()) != tinyxml2::XML_SUCCESS) { doc.PrintError(); return doc.ErrorID(); } |