1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 09:13:20 -05:00

Documentation: fix spelling mistake, EACCESS -> EACCES

Trivial fix to a spelling mistake of the error access name EACCESS,
rename to EACCES

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Colin Ian King 2018-10-26 18:25:49 +01:00 committed by Jonathan Corbet
parent f8d0dc21d4
commit cba8087d82
2 changed files with 3 additions and 3 deletions

View file

@ -452,7 +452,7 @@ RETURN VALUE
ERRORS ERRORS
EACCESS EACCES
The current user does not have write access on the spufs mount The current user does not have write access on the spufs mount
point. point.

View file

@ -190,11 +190,11 @@ ENOSPC:
Simply running out of kernel/system memory is signalled through ENOMEM. Simply running out of kernel/system memory is signalled through ENOMEM.
EPERM/EACCESS: EPERM/EACCES:
Returned for an operation that is valid, but needs more privileges. Returned for an operation that is valid, but needs more privileges.
E.g. root-only or much more common, DRM master-only operations return E.g. root-only or much more common, DRM master-only operations return
this when when called by unpriviledged clients. There's no clear this when when called by unpriviledged clients. There's no clear
difference between EACCESS and EPERM. difference between EACCES and EPERM.
ENODEV: ENODEV:
Feature (like PRIME, modesetting, GEM) is not supported by the driver. Feature (like PRIME, modesetting, GEM) is not supported by the driver.