As per POSIX, the correct spelling of the error code is EACCES: include/uapi/asm-generic/errno-base.h:#define EACCES 13 /* Permission denied */
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -292,7 +292,7 @@ struct pmu { · 291 unmodified lines | ||
| 292 | 292 | * -EBUSY -- @event is for this PMU but PMU temporarily unavailable |
| 293 | 293 | * -EINVAL -- @event is for this PMU but @event is not valid |
| 294 | 294 | * -EOPNOTSUPP -- @event is for this PMU, @event is valid, but not supported |
| 295 | − * -EACCESS -- @event is for this PMU, @event is valid, but no privilidges | |
| 295 | + * -EACCES -- @event is for this PMU, @event is valid, but no privileges | |
| 296 | 296 | * |
| 297 | 297 | * 0 -- @event is for this PMU and valid |
| 298 | 298 | * |