Fix papi_native_avail to return properly when using the -e option. Before, an error condition was always returned even if the event was reported properly. This was most notable on machines using a batch system, such as BlueGeneP.
Fix papi_native_avail to return properly when using the -e option.
Before, an error condition was always returned even if the event
was reported properly.
This was most notable on machines using a batch system, such as
BlueGeneP.

arm-hpc/papi,arm-hpc/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi,arm-hpc/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi