fix: Bug for perf_event_open error code.(LTP:perf_event_open01)

Change-Id: Ia7c942cb3c94ad5e6a0d8640f321f427cd1cd5f9
This commit is contained in:
TOIDA,Suguru
2019-07-23 16:06:39 +09:00
parent bb2589bac4
commit ca19ee434a

View File

@ -4104,7 +4104,7 @@ static int mc_perf_event_alloc(struct mc_perf_event **out,
}
if (val == 0) {
ret = -EINVAL;
ret = -ENOENT;
goto out;
}