OSDN Git Service

Documentation: fix spelling mistake, EACCESS -> EACCES
authorColin Ian King <colin.king@canonical.com>
Fri, 26 Oct 2018 17:25:49 +0000 (18:25 +0100)
committerJonathan Corbet <corbet@lwn.net>
Wed, 7 Nov 2018 22:28:55 +0000 (15:28 -0700)
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>
Documentation/filesystems/spufs.txt
Documentation/gpu/drm-uapi.rst

index 1343d11..eb9e3aa 100644 (file)
@@ -452,7 +452,7 @@ RETURN VALUE
 
 
 ERRORS
-       EACCESS
+       EACCES
               The  current  user does not have write access on the spufs mount
               point.
 
index a2214cc..f2f079e 100644 (file)
@@ -190,11 +190,11 @@ ENOSPC:
 
         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.
         E.g. root-only or much more common, DRM master-only operations return
         this when when called by unpriviledged clients. There's no clear
-        difference between EACCESS and EPERM.
+        difference between EACCES and EPERM.
 
 ENODEV:
         Feature (like PRIME, modesetting, GEM) is not supported by the driver.