mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
checkasm: improve Linux perf error message
Report the failing system call name, as is convention, rather than just a rather unhelpful "syscall".
This commit is contained in:
parent
983af74452
commit
f25ad0fe02
1 changed files with 1 additions and 1 deletions
|
|
@ -667,7 +667,7 @@ static int bench_init_linux(void)
|
|||
|
||||
state.sysfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, 0);
|
||||
if (state.sysfd == -1) {
|
||||
perror("syscall");
|
||||
perror("perf_event_open");
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue