History

perf/headers: Fix spelling s/EACCESS/EACCES/, s/privilidge/privilege/

As per POSIX, the correct spelling of the error code is EACCES: include/uapi/asm-generic/errno-base.h:#define EACCES 13 /* Permission denied */

Geert Uytterhoeven committed 7 years ago

Commit 652521d1 parent 75be6f71 file · +1 −1Browse files

Unified · Split

include/linux/perf_event.h+1−1
@@ -292,7 +292,7 @@ struct pmu { · 291 unmodified lines
292 * -EBUSY -- @event is for this PMU but PMU temporarily unavailable292 * -EBUSY -- @event is for this PMU but PMU temporarily unavailable
293 * -EINVAL -- @event is for this PMU but @event is not valid293 * -EINVAL -- @event is for this PMU but @event is not valid
294 * -EOPNOTSUPP -- @event is for this PMU, @event is valid, but not supported294 * -EOPNOTSUPP -- @event is for this PMU, @event is valid, but not supported
295 * -EACCESS -- @event is for this PMU, @event is valid, but no privilidges295 * -EACCES -- @event is for this PMU, @event is valid, but no privileges
296 *296 *
297 * 0 -- @event is for this PMU and valid297 * 0 -- @event is for this PMU and valid
298 *298 *

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t